Mercurial > emacs
comparison src/macmenu.c @ 83066:887bb2eb4a89
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-116
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-117
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-106
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 28 Feb 2004 01:33:17 +0000 |
parents | 6c8849d06ab3 |
children | 21f88361795c |
comparison
equal
deleted
inserted
replaced
83065:a871be7b26a5 | 83066:887bb2eb4a89 |
---|---|
33 #include "blockinput.h" | 33 #include "blockinput.h" |
34 #include "buffer.h" | 34 #include "buffer.h" |
35 #include "charset.h" | 35 #include "charset.h" |
36 #include "coding.h" | 36 #include "coding.h" |
37 | 37 |
38 #ifdef MAC_OSX | 38 #ifndef MAC_OSX |
39 #undef mktime | |
40 #undef DEBUG | |
41 #undef Z | |
42 #undef free | |
43 #undef malloc | |
44 #undef realloc | |
45 /* Macros max and min defined in lisp.h conflict with those in | |
46 precompiled header Carbon.h. */ | |
47 #undef max | |
48 #undef min | |
49 #undef init_process | |
50 #include <Carbon/Carbon.h> | |
51 #undef Z | |
52 #define Z (current_buffer->text->z) | |
53 #undef free | |
54 #define free unexec_free | |
55 #undef malloc | |
56 #define malloc unexec_malloc | |
57 #undef realloc | |
58 #define realloc unexec_realloc | |
59 #undef min | |
60 #define min(a, b) ((a) < (b) ? (a) : (b)) | |
61 #undef max | |
62 #define max(a, b) ((a) > (b) ? (a) : (b)) | |
63 #undef init_process | |
64 #define init_process emacs_init_process | |
65 #else /* not MAC_OSX */ | |
66 #include <MacTypes.h> | 39 #include <MacTypes.h> |
67 #include <Menus.h> | 40 #include <Menus.h> |
68 #include <QuickDraw.h> | 41 #include <QuickDraw.h> |
69 #include <ToolUtils.h> | 42 #include <ToolUtils.h> |
70 #include <Fonts.h> | 43 #include <Fonts.h> |