summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcConfig.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index b7e131ef..4c523886 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -18,10 +18,13 @@
* Or go to http://www.gnu.org/copyleft/lgpl.html
*/
-#if defined(_WIN32) && (_WIN32_IE < 0x400)
-#undef _WIN32_IE
+#ifdef _WIN32
+#ifdef __MINGW64__
+#define _WIN32_IE 0x501
+#else
#define _WIN32_IE 0x400
#endif
+#endif
#include "config.h"