]> git.saurik.com Git - wxWidgets.git/commitdiff
added test for __MACH__ for Mac OS X compilation
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 30 Jan 2001 21:06:57 +0000 (21:06 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 30 Jan 2001 21:06:57 +0000 (21:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/checklst.h
include/wx/mac/uma.h

index fd6ad64785a9fa99a6e71d5f9157c266abe744da..64514452fefbf10d6ff3abb4cb8ef9e5aee10a47 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "wx/listbox.h"
 
-#ifndef __MWERKS__
+#if !defined(__MWERKS__) && !defined(__MACH__)
 typedef   unsigned int  size_t;
 #endif
 
index 9338e2715d5c58ca12cd5defeda6902734bd82e2..927be963cd1ba5bed429b84970efb72caa410036 100644 (file)
@@ -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