UNDEF more types before including windows headers

This commit is contained in:
Matti Picus 2012-03-09 00:00:04 +02:00
parent b9960754e4
commit 2ba3bf681d
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,10 @@
#if (defined(_MSC_VER) && _MSC_VER >= 1200) || (defined __GNUC__)
/* already defined in basetsd.h */
#undef INT8
#undef UINT8
#undef INT16
#undef UINT16
#undef INT32
#undef INT64
#undef UINT32

4
map.c
View File

@ -29,6 +29,10 @@
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#undef INT8
#undef UINT8
#undef INT16
#undef UINT16
#undef INT32
#undef INT64
#undef UINT32