X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65442ab650425a5f6a1d5d685e8df582401a9be7..1efb5db8961ac308d16ed3ae7930bd0b48c0520e:/include/wx/mac/corefoundation/hid.h diff --git a/include/wx/mac/corefoundation/hid.h b/include/wx/mac/corefoundation/hid.h index 3789e81ff3..9d138c301f 100644 --- a/include/wx/mac/corefoundation/hid.h +++ b/include/wx/mac/corefoundation/hid.h @@ -19,10 +19,6 @@ #ifndef _WX_MACCARBONHID_H_ #define _WX_MACCARBONHID_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "hid.h" -#endif - #include "wx/defs.h" #include "wx/string.h" @@ -39,7 +35,14 @@ #include #include -#include +//Darn apple - doesn't properly wrap their headers in extern "C"! +//http://www.macosx.com/forums/archive/index.php/t-68069.html +//Needed for codewarrior link error with mach_port_deallocate() +extern "C" { +#include +} + +#include //this actually includes mach_port.h (see above) //Utility wrapper around CFArray class wxCFArray