Define _WIN32_WINNT on the command line with _WIN32

This commit is contained in:
Chris Robinson
2011-09-20 14:59:01 -07:00
parent e01092a0da
commit 390d94ec97
5 changed files with 1 additions and 7 deletions
-1
View File
@@ -20,7 +20,6 @@
#include "config.h"
#define _WIN32_WINNT 0x0500
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
-1
View File
@@ -21,7 +21,6 @@
#include "config.h"
#define COBJMACROS
#define _WIN32_WINNT 0x0500
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
-1
View File
@@ -20,7 +20,6 @@
#include "config.h"
#define _WIN32_WINNT 0x0500
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
+1 -1
View File
@@ -61,7 +61,7 @@ OPTION(ALSOFT_CONFIG "Install alsoft.conf configuration file" OFF)
IF(WIN32)
SET(LIBNAME OpenAL32)
ADD_DEFINITIONS("-D_WIN32")
ADD_DEFINITIONS("-D_WIN32 -D_WIN32_WINNT=0x0500")
ELSE()
SET(LIBNAME openal)
ENDIF()
-3
View File
@@ -163,9 +163,6 @@ typedef ptrdiff_t ALsizeiptrEXT;
#ifdef _WIN32
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#include <windows.h>
typedef DWORD pthread_key_t;