aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-18 13:46:18 -0700
committerChris Robinson <[email protected]>2010-03-18 13:46:18 -0700
commitb6571904ce351ab9aa54e9d030deb89afb5c07d8 (patch)
tree5f258560f53b7756742991443220d3b11c92e026
parent97b25755e7cca783d201c51c8f910588d6ed6beb (diff)
Define _WIN32_IE to 0x400 only if it's a lesser value by default
Spotted by Alam Arias
-rw-r--r--Alc/alcConfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index de15dbf4..fadc3c9c 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -18,7 +18,8 @@
* Or go to http://www.gnu.org/copyleft/lgpl.html
*/
-#ifdef _WIN32
+#if defined(_WIN32) && (_WIN32_IE < 0x400)
+#undef _WIN32_IE
#define _WIN32_IE 0x400
#endif