aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlam Arias <[email protected]>2010-03-18 16:13:44 -0400
committerChris Robinson <[email protected]>2010-03-18 16:33:08 -0700
commitcf4027df384dc78afd3a95ee9d900c613dc8a672 (patch)
tree2b1a53ca41c063fb35928f6f9f8f9b8a016e7701
parent127b845960e276e78e95e0b7ca03e80163c1ed63 (diff)
Mingw64's shlobj.h wants at least 0x501
-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"