aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcConfig.c
diff options
context:
space:
mode:
authorAlam Arias <[email protected]>2009-06-07 22:11:46 -0400
committerChris Robinson <[email protected]>2009-06-07 19:43:42 -0700
commit89e9437b8417701eb4b9ed28984687221712108c (patch)
tree96cdd2a2170afc9aef45847b38673beb70461221 /Alc/alcConfig.c
parent1454c46b5fed42dca9d509a66d4cefac2800289c (diff)
add check for _WAVEFORMATEXTENSIBLE_ and define _WIN32_IE before inlcuding any header
Diffstat (limited to 'Alc/alcConfig.c')
-rw-r--r--Alc/alcConfig.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index 6b959709..aa6ed21e 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -18,6 +18,10 @@
* Or go to http://www.gnu.org/copyleft/lgpl.html
*/
+#ifdef _WIN32
+#define _WIN32_IE 0x400
+#endif
+
#include "config.h"
#include <stdlib.h>
@@ -27,8 +31,7 @@
#include "alMain.h"
-#ifdef _WIN32
-#define _WIN32_IE 0x400
+#ifdef _WIN32_IE
#include <shlobj.h>
#endif