]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
Compilation fix for gcc-4 and newer.
[wxWidgets.git] / include / wx / platform.h
index 0e0870683009acd96326ab6b3ec509c15acc3e24..30936a7d16d1e1420f2522bc38e60c1cc67ca457 100644 (file)
 /* also the 32/64 bit universal builds must be handled accordingly */
 #ifdef __DARWIN__
 #      ifdef __LP64__
+#              undef SIZEOF_VOID_P 
+#              undef SIZEOF_LONG 
+#              undef SIZEOF_SIZE_T 
 #              define SIZEOF_VOID_P 8
 #              define SIZEOF_LONG 8
 #              define SIZEOF_SIZE_T 8
 #      else
+#              undef SIZEOF_VOID_P 
+#              undef SIZEOF_LONG 
+#              undef SIZEOF_SIZE_T 
 #              define SIZEOF_VOID_P 4
 #              define SIZEOF_LONG 4
 #              define SIZEOF_SIZE_T 4