Permalink
Browse files

UNDEF more types before including windows headers

  • Loading branch information...
1 parent b996075 commit 2ba3bf681dc2f7c476a4b674f01e499ec654f68c Matti Picus committed Mar 8, 2012
Showing with 8 additions and 0 deletions.
  1. +4 −0 libImaging/ImDib.h
  2. +4 −0 map.c
View
@@ -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
View
4 map.c
@@ -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

0 comments on commit 2ba3bf6

Please sign in to comment.