Mercurial > emacs
diff src/macmenu.c @ 54150:6c8849d06ab3
Inserting Yamomotosan's changes for MacOSX image support, better support
of Asian fonts, and some long awaited header cleanup and centralization.
| author | Steven Tamm <steventamm@mac.com> |
|---|---|
| date | Thu, 26 Feb 2004 17:46:48 +0000 |
| parents | 695cf19ef79e |
| children | 21f88361795c |
line wrap: on
line diff
--- a/src/macmenu.c Thu Feb 26 11:14:34 2004 +0000 +++ b/src/macmenu.c Thu Feb 26 17:46:48 2004 +0000 @@ -35,34 +35,7 @@ #include "charset.h" #include "coding.h" -#ifdef MAC_OSX -#undef mktime -#undef DEBUG -#undef Z -#undef free -#undef malloc -#undef realloc -/* Macros max and min defined in lisp.h conflict with those in - precompiled header Carbon.h. */ -#undef max -#undef min -#undef init_process -#include <Carbon/Carbon.h> -#undef Z -#define Z (current_buffer->text->z) -#undef free -#define free unexec_free -#undef malloc -#define malloc unexec_malloc -#undef realloc -#define realloc unexec_realloc -#undef min -#define min(a, b) ((a) < (b) ? (a) : (b)) -#undef max -#define max(a, b) ((a) > (b) ? (a) : (b)) -#undef init_process -#define init_process emacs_init_process -#else /* not MAC_OSX */ +#ifndef MAC_OSX #include <MacTypes.h> #include <Menus.h> #include <QuickDraw.h>
