From e1214731e30eb3c417d9f413e07143ee10f13b77 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 16 Sep 2008 18:00:21 +0000 Subject: [PATCH] fixing redefine warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.45.2