diff options
author | Chris Robinson <[email protected]> | 2008-03-01 01:39:42 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-03-01 01:39:42 -0800 |
commit | 2af549880412bb666574945a81ea6fbcba82f324 (patch) | |
tree | b3e5b17e9471926cf95128450792d0fc0012ce58 /Alc | |
parent | 2b42d7fdb8181ae5c721e86cc9bf5896e546cc02 (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 'Alc')
-rw-r--r-- | Alc/alcThread.c | 2 | ||||
-rw-r--r-- | Alc/dsound.c | 1 | ||||
-rw-r--r-- | Alc/winmm.c | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcThread.c b/Alc/alcThread.c index 6e7237af..7db1c5dc 100644 --- a/Alc/alcThread.c +++ b/Alc/alcThread.c @@ -28,8 +28,6 @@ #ifdef _WIN32 -#include <windows.h> - typedef struct { ALuint (*func)(ALvoid*); ALvoid *ptr; diff --git a/Alc/dsound.c b/Alc/dsound.c index fa0af41c..6b5f70d6 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -20,6 +20,7 @@ #include "config.h" +#define _WIN32_WINNT 0x0500 #define INITGUID #include <stdlib.h> #include <stdio.h> diff --git a/Alc/winmm.c b/Alc/winmm.c index 4963597c..0261e373 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -20,6 +20,7 @@ #include "config.h" +#define _WIN32_WINNT 0x0500 #include <stdlib.h> #include <stdio.h> #include <memory.h> |