From: Gilles Depeyrot Date: Tue, 30 Jan 2001 21:06:57 +0000 (+0000) Subject: added test for __MACH__ for Mac OS X compilation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/36195a44c32bcd2b14cd819ed675bc80fb2255bd added test for __MACH__ for Mac OS X compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/checklst.h b/include/wx/mac/checklst.h index fd6ad64785..64514452fe 100644 --- a/include/wx/mac/checklst.h +++ b/include/wx/mac/checklst.h @@ -19,7 +19,7 @@ #include "wx/listbox.h" -#ifndef __MWERKS__ +#if !defined(__MWERKS__) && !defined(__MACH__) typedef unsigned int size_t; #endif diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index 9338e2715d..927be963cd 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -16,7 +16,7 @@ #define UMA_USE_8_6 0 -#if __POWERPC__ +#if defined(__POWERPC__) || defined(__MACH__) #define UMA_USE_APPEARANCE 1 #define UMA_USE_WINDOWMGR 1 #else