From: Jack Jansen Date: Sat, 19 May 2001 12:32:39 +0000 (+0000) Subject: include Carbon/Carbon.h in stead of universal headers, if appropriate. X-Git-Tag: v2.2a3~1746 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f66b4af6a02cd185738f0cdb28336151c928056;p=thirdparty%2FPython%2Fcpython.git include Carbon/Carbon.h in stead of universal headers, if appropriate. --- diff --git a/Mac/Include/getapplbycreator.h b/Mac/Include/getapplbycreator.h index 8ccaecdc1818..62e5930ca625 100644 --- a/Mac/Include/getapplbycreator.h +++ b/Mac/Include/getapplbycreator.h @@ -22,7 +22,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +#ifdef WITHOUT_FRAMEWORKS #include #include +#else +#include +#endif extern OSErr FindApplicationFromCreator(OSType, FSSpecPtr); diff --git a/Mac/Include/pymactoolbox.h b/Mac/Include/pymactoolbox.h index 3eb58b1f2215..fca673d06823 100644 --- a/Mac/Include/pymactoolbox.h +++ b/Mac/Include/pymactoolbox.h @@ -6,6 +6,7 @@ extern "C" { #endif +#ifdef WITHOUT_FRAMEWORKS #include #include #include @@ -14,6 +15,10 @@ #include #include #include +#else +#include +#include +#endif #ifdef USE_TOOLBOX_OBJECT_GLUE /*