diff options
| author | Karoly Lorentey | 2005-03-06 13:31:20 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-03-06 13:31:20 +0000 |
| commit | a0d878a9ccbfb7c68dd7cfbe05c2b71b9bd5c830 (patch) | |
| tree | 79ba80d6f6c4b787c60b36ebcd87c1b26f0906e1 /src/macgui.h | |
| parent | ab455350da7728b0f8e1daf92c084092d8a04c29 (diff) | |
| parent | be6e87e51aaa3a114bc4ff2ceccbc7c9aa2b30d0 (diff) | |
| download | emacs-a0d878a9ccbfb7c68dd7cfbe05c2b71b9bd5c830.tar.gz emacs-a0d878a9ccbfb7c68dd7cfbe05c2b71b9bd5c830.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 34-36, 142-158)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-142
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-143
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-144
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-145
(make-text-button): Default button type if not specified
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-146
quick-install-emacs: Use mkdir --verbose only when requested
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-147
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-148
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-149
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-150
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-151
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Add info/dir to arch branch
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-153
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-154
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-155
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-156
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-157
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-158
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-34
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-35
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-36
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-303
Diffstat (limited to 'src/macgui.h')
| -rw-r--r-- | src/macgui.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/macgui.h b/src/macgui.h index cb157bb8c25..6a961318b76 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -29,10 +29,11 @@ typedef char * XrmDatabase; /* fix later */ | |||
| 29 | 29 | ||
| 30 | typedef unsigned long Time; | 30 | typedef unsigned long Time; |
| 31 | 31 | ||
| 32 | #if MAC_OSX | 32 | #ifdef HAVE_CARBON |
| 33 | #undef Z | ||
| 34 | #ifdef MAC_OSX | ||
| 33 | #undef mktime | 35 | #undef mktime |
| 34 | #undef DEBUG | 36 | #undef DEBUG |
| 35 | #undef Z | ||
| 36 | #undef free | 37 | #undef free |
| 37 | #undef malloc | 38 | #undef malloc |
| 38 | #undef realloc | 39 | #undef realloc |
| @@ -44,8 +45,6 @@ typedef unsigned long Time; | |||
| 44 | #include <Carbon/Carbon.h> | 45 | #include <Carbon/Carbon.h> |
| 45 | #undef mktime | 46 | #undef mktime |
| 46 | #define mktime emacs_mktime | 47 | #define mktime emacs_mktime |
| 47 | #undef Z | ||
| 48 | #define Z (current_buffer->text->z) | ||
| 49 | #undef free | 48 | #undef free |
| 50 | #define free unexec_free | 49 | #define free unexec_free |
| 51 | #undef malloc | 50 | #undef malloc |
| @@ -59,12 +58,19 @@ typedef unsigned long Time; | |||
| 59 | #undef init_process | 58 | #undef init_process |
| 60 | #define init_process emacs_init_process | 59 | #define init_process emacs_init_process |
| 61 | #undef INFINITY | 60 | #undef INFINITY |
| 62 | #else | 61 | #else /* not MAC_OSX */ |
| 62 | #undef SIGHUP | ||
| 63 | #define OLDP2C 1 | ||
| 64 | #include <Carbon.h> | ||
| 65 | #endif /* not MAC_OSX */ | ||
| 66 | #undef Z | ||
| 67 | #define Z (current_buffer->text->z) | ||
| 68 | #else /* not HAVE_CARBON */ | ||
| 63 | #include <QuickDraw.h> /* for WindowPtr */ | 69 | #include <QuickDraw.h> /* for WindowPtr */ |
| 64 | #include <QDOffscreen.h> /* for GWorldPtr */ | 70 | #include <QDOffscreen.h> /* for GWorldPtr */ |
| 65 | #include <Windows.h> | 71 | #include <Windows.h> |
| 66 | #include <Gestalt.h> | 72 | #include <Gestalt.h> |
| 67 | #endif | 73 | #endif /* not HAVE_CARBON */ |
| 68 | 74 | ||
| 69 | typedef WindowPtr Window; | 75 | typedef WindowPtr Window; |
| 70 | typedef GWorldPtr Pixmap; | 76 | typedef GWorldPtr Pixmap; |