]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/utilsexc.cpp
added extern "C" for include of mach/mach.h to fix link errors with PB
[wxWidgets.git] / src / mac / utilsexc.cpp
index 1d9082a085e3aacf16a4c61214b49682210f89de..dc05dbab9c4cd21e158400eab27d5b6df8ed7018 100644 (file)
@@ -10,7 +10,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma implementation
+//#pragma implementation
 #endif
 
 #include "wx/log.h"
@@ -19,7 +19,9 @@
 #include "wx/unix/execute.h"
 #include <unistd.h>
 #include <sys/wait.h>
+extern "C" {
 #include <mach/mach.h>
+}
 #include <CoreFoundation/CFMachPort.h>
 #endif