Mercurial > emacs
diff src/dispextern.h @ 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 | 8970999f9bcc |
children | 02a264d3657d 887bb2eb4a89 |
line wrap: on
line diff
--- a/src/dispextern.h Thu Feb 26 11:14:34 2004 +0000 +++ b/src/dispextern.h Thu Feb 26 17:46:48 2004 +0000 @@ -61,38 +61,8 @@ #ifdef HAVE_CARBON #include "macgui.h" typedef struct mac_display_info Display_Info; - -/* Include Carbon.h to define Cursor and Rect. */ -#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 - #endif - #ifndef NativeRectangle #define NativeRectangle int #endif