aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-03-01 01:39:42 -0800
committerChris Robinson <[email protected]>2008-03-01 01:39:42 -0800
commit2af549880412bb666574945a81ea6fbcba82f324 (patch)
treeb3e5b17e9471926cf95128450792d0fc0012ce58 /OpenAL32/Include/alMain.h
parent2b42d7fdb8181ae5c721e86cc9bf5896e546cc02 (diff)
Define _WIN32_WINNT to 0x0500 when including windows.h
VC7 appears to require that value, or higher, set and fails otherwise
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 0aafe1ad..886168e0 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -8,6 +8,9 @@
#ifdef _WIN32
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0500
+#endif
#include <windows.h>
#else