changeset 60363:c4138f578114

[TARGET_API_MAC_CARBON]: Don't include headers that are included via Carbon.h.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 04 Mar 2005 11:09:33 +0000
parents f69bf8238a7e
children de784812b4d4
files src/macmenu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/macmenu.c	Fri Mar 04 11:09:09 2005 +0000
+++ b/src/macmenu.c	Fri Mar 04 11:09:33 2005 +0000
@@ -35,7 +35,7 @@
 #include "charset.h"
 #include "coding.h"
 
-#ifndef MAC_OSX
+#if !TARGET_API_MAC_CARBON
 #include <MacTypes.h>
 #include <Menus.h>
 #include <QuickDraw.h>
@@ -47,7 +47,7 @@
 #if defined (__MRC__) || (__MSL__ >= 0x6000)
 #include <ControlDefinitions.h>
 #endif
-#endif /* not MAC_OSX */
+#endif /* not TARGET_API_MAC_CARBON */
 
 /* This may include sys/types.h, and that somehow loses
    if this is not done before the other system files.  */