forked from mia/Aegisub
I came, I saw, I hurfed a durf about macro redefinitions
Originally committed to SVN as r4781.
This commit is contained in:
parent
6f63041156
commit
035694c9ae
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue