summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2011-07-03 01:39:00 +0000
committerrpj <rpj>2011-07-03 01:39:00 +0000
commit0839be6d0a321aa805d2b31bf38ea13e76ccb532 (patch)
treebe1f839c56c2ebdc63bebccd1d8dd24980c36acf
parent758deae4c0be2c7ff2fb1d0c55e6aeead86abbb7 (diff)
_WIN32_WINNT definition
-rw-r--r--ChangeLog6
-rw-r--r--Makefile3
-rw-r--r--implement.h3
3 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 461973b..04a81c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,13 @@
-2011-07-02 Ross Johnson <ross dot johnson at homemail dot com dot au>
+2011-07-03 Ross Johnson <ross dot johnson at homemail dot com dot au>
* pthread_spin_unlock.c (EPERM): Return success if unlocking a lock
that is not locked, because single CPU machines wrap a
PTHREAD_MUTEX_NORMAL mutex, which returns success in this case.
+2011-07-03 Daniel Richard G. <skunk at iskunk dot org>
+
+ * Makefile (_WIN32_WINNT): Removed; duplicate definition in implement.h.
+
2011-07-02 Daniel Richard G. <skunk at iskunk dot org>
* Makefile: Cleanups and implovements.
diff --git a/Makefile b/Makefile
index 97a65ec..3f3e449 100644
--- a/Makefile
+++ b/Makefile
@@ -28,8 +28,7 @@ OPTIM = /O2 /Ob2
OPTIMD =
CC = cl
-#CFLAGS = /W3 /MD /nologo /I. /D_WIN32_WINNT=0x400 /DHAVE_PTW32_CONFIG_H
-CPPFLAGS = /I. /D_WIN32_WINNT=0x400 /DHAVE_PTW32_CONFIG_H
+CPPFLAGS = /I. /DHAVE_PTW32_CONFIG_H
CFLAGS = /W3 /MD /nologo
CFLAGSD = /Z7 $(CFLAGS)
diff --git a/implement.h b/implement.h
index c4a00d2..c4d0a52 100644
--- a/implement.h
+++ b/implement.h
@@ -38,9 +38,6 @@
#if !defined(_IMPLEMENT_H)
#define _IMPLEMENT_H
-#if defined(_WIN32_WINNT)
-#undef _WIN32_WINNT
-#endif
#define _WIN32_WINNT 0x400
#include <windows.h>