aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorSteven Tamm2004-02-26 17:46:48 +0000
committerSteven Tamm2004-02-26 17:46:48 +0000
commite35644615b2a506daa457cbc5613ba8d16a46be6 (patch)
treec9a8a5555b8bffd7808612c10958a1cd96a7a75f /src/dispextern.h
parentaf617d0febe392e1d55978df89a73f6c2fca74d4 (diff)
downloademacs-e35644615b2a506daa457cbc5613ba8d16a46be6.tar.gz
emacs-e35644615b2a506daa457cbc5613ba8d16a46be6.zip
Inserting Yamomotosan's changes for MacOSX image support, better support
of Asian fonts, and some long awaited header cleanup and centralization.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index fc27c6e185e..bb421e0618b 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -61,38 +61,8 @@ typedef struct w32_display_info Display_Info;
61#ifdef HAVE_CARBON 61#ifdef HAVE_CARBON
62#include "macgui.h" 62#include "macgui.h"
63typedef struct mac_display_info Display_Info; 63typedef struct mac_display_info Display_Info;
64
65/* Include Carbon.h to define Cursor and Rect. */
66#undef mktime
67#undef DEBUG
68#undef Z
69#undef free
70#undef malloc
71#undef realloc
72/* Macros max and min defined in lisp.h conflict with those in
73 precompiled header Carbon.h. */
74#undef max
75#undef min
76#undef init_process
77#include <Carbon/Carbon.h>
78#undef Z
79#define Z (current_buffer->text->z)
80#undef free
81#define free unexec_free
82#undef malloc
83#define malloc unexec_malloc
84#undef realloc
85#define realloc unexec_realloc
86#undef min
87#define min(a, b) ((a) < (b) ? (a) : (b))
88#undef max
89#define max(a, b) ((a) > (b) ? (a) : (b))
90#undef init_process
91#define init_process emacs_init_process
92
93#endif 64#endif
94 65
95
96#ifndef NativeRectangle 66#ifndef NativeRectangle
97#define NativeRectangle int 67#define NativeRectangle int
98#endif 68#endif