From 0839be6d0a321aa805d2b31bf38ea13e76ccb532 Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 3 Jul 2011 01:39:00 +0000 Subject: _WIN32_WINNT definition --- ChangeLog | 6 +++++- Makefile | 3 +-- implement.h | 3 --- 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 +2011-07-03 Ross Johnson * 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. + + * Makefile (_WIN32_WINNT): Removed; duplicate definition in implement.h. + 2011-07-02 Daniel Richard G. * 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 -- cgit v1.2.3