]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/thread.cpp
corrected initialization of private wxBitmapHandler members in wxPICTResourceHandler...
[wxWidgets.git] / src / mac / carbon / thread.cpp
index 6c477b3685b804d0cbf4714b14c731c60d22fa06..010a4c5cffa0b5a2a6cca461b0ee66b9cb34f7a1 100644 (file)
@@ -10,7 +10,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "thread.h"
 #endif
 
@@ -40,7 +40,7 @@
 #else
 #include <DriverServices.h>
 #include <Multiprocessing.h>
-#include <math.h>
+#include "wx/math.h"
 #endif
 #include "wx/mac/uma.h"
 #endif