Mercurial > emacs
diff src/macmenu.c @ 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 | 4ad0594e1ac4 |
| children | d119b1761be3 29e773288013 |
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. */
