summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-19 12:32:39 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-19 12:32:39 (GMT)
commit9f66b4af6a02cd185738f0cdb28336151c928056 (patch)
treed9d7c5f2f9e991534a2d7449220b8cf94274069c /Mac/Include
parent8bb1dc1f8d52da30b648237048a7adeeb2ff83cb (diff)
downloadcpython-9f66b4af6a02cd185738f0cdb28336151c928056.zip
cpython-9f66b4af6a02cd185738f0cdb28336151c928056.tar.gz
cpython-9f66b4af6a02cd185738f0cdb28336151c928056.tar.bz2
include Carbon/Carbon.h in stead of universal headers, if appropriate.
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/getapplbycreator.h4
-rw-r--r--Mac/Include/pymactoolbox.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/Mac/Include/getapplbycreator.h b/Mac/Include/getapplbycreator.h
index 8ccaecd..62e5930 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 <Types.h>
#include <Files.h>
+#else
+#include <Carbon/Carbon.h>
+#endif
extern OSErr FindApplicationFromCreator(OSType, FSSpecPtr);
diff --git a/Mac/Include/pymactoolbox.h b/Mac/Include/pymactoolbox.h
index 3eb58b1..fca673d 100644
--- a/Mac/Include/pymactoolbox.h
+++ b/Mac/Include/pymactoolbox.h
@@ -6,6 +6,7 @@
extern "C" {
#endif
+#ifdef WITHOUT_FRAMEWORKS
#include <Memory.h>
#include <Dialogs.h>
#include <Menus.h>
@@ -14,6 +15,10 @@
#include <Lists.h>
#include <Movies.h>
#include <Errors.h>
+#else
+#include <Carbon/Carbon.h>
+#include <QuickTime/QuickTime.h>
+#endif
#ifdef USE_TOOLBOX_OBJECT_GLUE
/*