From: Gilles Depeyrot Date: Sat, 19 Apr 2003 08:14:46 +0000 (+0000) Subject: added extern "C" for include of mach/mach.h to fix link errors with PB X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/90771fe589672f48bc070cb0863a497afa48203b?hp=06ea1f023e3f0b4318b3d44dcd15c304b7306025 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 --- diff --git a/src/mac/carbon/utilsexc.cpp b/src/mac/carbon/utilsexc.cpp index 1d9082a085..dc05dbab9c 100644 --- a/src/mac/carbon/utilsexc.cpp +++ b/src/mac/carbon/utilsexc.cpp @@ -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 #include +extern "C" { #include +} #include #endif diff --git a/src/mac/utilsexc.cpp b/src/mac/utilsexc.cpp index 1d9082a085..dc05dbab9c 100644 --- a/src/mac/utilsexc.cpp +++ b/src/mac/utilsexc.cpp @@ -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 #include +extern "C" { #include +} #include #endif