]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
include Carbon/Carbon.h in stead of universal headers, if appropriate.
authorJack Jansen <jack.jansen@cwi.nl>
Sat, 19 May 2001 12:32:39 +0000 (12:32 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sat, 19 May 2001 12:32:39 +0000 (12:32 +0000)
Mac/Include/getapplbycreator.h
Mac/Include/pymactoolbox.h

index 8ccaecdc18189f2b256581213344ee104aee3ea1..62e5930ca62584fcf8a4225d3e76d2d33904b51a 100644 (file)
@@ -22,7 +22,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ******************************************************************/
 
+#ifdef WITHOUT_FRAMEWORKS
 #include <Types.h>
 #include <Files.h>
+#else
+#include <Carbon/Carbon.h>
+#endif
 
 extern OSErr FindApplicationFromCreator(OSType, FSSpecPtr);
index 3eb58b1f22155422d897da2352dd94ef86c90a89..fca673d06823ad2febb1b35b95d1dbe99d633d39 100644 (file)
@@ -6,6 +6,7 @@
        extern "C" {
 #endif
 
+#ifdef WITHOUT_FRAMEWORKS
 #include <Memory.h>
 #include <Dialogs.h>
 #include <Menus.h>
 #include <Lists.h>
 #include <Movies.h>
 #include <Errors.h>
+#else
+#include <Carbon/Carbon.h>
+#include <QuickTime/QuickTime.h>
+#endif
 
 #ifdef USE_TOOLBOX_OBJECT_GLUE
 /*