added extern "C" for include of mach/mach.h to fix link errors with PB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user