X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f2635175aeb1a0a048d0f92e1ac761d716935ed..f55d9f749b61b3a8435c58a285ac096726d15040:/include/wx/platform.h

diff --git a/include/wx/platform.h b/include/wx/platform.h
index 0e08706830..30936a7d16 100644
--- a/include/wx/platform.h
+++ b/include/wx/platform.h
@@ -665,10 +665,16 @@
 /* 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