I came, I saw, I hurfed a durf about macro redefinitions

Originally committed to SVN as r4781.
This commit is contained in:
Karl Blomster 2010-09-14 23:53:22 +00:00
parent 6f63041156
commit 035694c9ae
1 changed files with 2 additions and 0 deletions

View File

@ -119,7 +119,9 @@
// To avoid macro definition of ERROR. // To avoid macro definition of ERROR.
# define NOGDI # define NOGDI
// To avoid macro definition of min/max. // To avoid macro definition of min/max.
# ifndef NOMINMAX
# define NOMINMAX # define NOMINMAX
# endif // NOMINMAX
# include <windows.h> # include <windows.h>
typedef CRITICAL_SECTION MutexType; typedef CRITICAL_SECTION MutexType;
#elif defined(HAVE_PTHREAD) && defined(HAVE_RWLOCK) #elif defined(HAVE_PTHREAD) && defined(HAVE_RWLOCK)