aboutsummaryrefslogtreecommitdiffstats
path: root/mac/inc/s-mac.h
diff options
context:
space:
mode:
authorSteven Tamm <[email protected]>2004-12-27 17:23:53 +0000
committerSteven Tamm <[email protected]>2004-12-27 17:23:53 +0000
commit22933cbff47c023e8a37677112e847c9242d8a54 (patch)
treebae0f938a00a18f0e4737dfe5becd42a451f2063 /mac/inc/s-mac.h
parent74e2abe26a974d64a1fe006dd99c061c91d71773 (diff)
* makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
lastfile.c.x. (PPCCOptions): Add -alloca. (EmacsObjects): Remove alloca.c.x. Add fringe.c.x, image.c.x, and lastfile.c.x. (Emacs MPW): Add QuickTimeLib. (EmacsSource): Remove alloca.c. Add fringe.c, image.c, and lastfile.c. (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and map-ynp.elc. * inc/config.h (USE_LSB_TAG) [__MRC__]: Define. (UNEXEC_SRC): Close comment. * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines. * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define. (C_ALLOCA) [__MRC__]: Don't define. * inc/s-mac.h (X_OK): New define. (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro. (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
Diffstat (limited to 'mac/inc/s-mac.h')
-rw-r--r--mac/inc/s-mac.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mac/inc/s-mac.h b/mac/inc/s-mac.h
index c187944ae6..2905692aac 100644
--- a/mac/inc/s-mac.h
+++ b/mac/inc/s-mac.h
@@ -255,6 +255,10 @@ void read_input_waiting ();
#include <unistd.h>
#endif
+#ifndef X_OK
+#define X_OK 01
+#endif
+
#undef unlink
#define unlink sys_unlink
#undef read
@@ -319,5 +323,15 @@ extern double atof (const char *);
#define SYMS_SYSTEM syms_of_mac()
+#ifdef USE_LSB_TAG
+#ifdef __MRC__
+#define DECL_ALIGN(type, var) type var
+#endif
+#endif
+
+/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the
+ stack. */
+#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
+
/* arch-tag: 6a941c4b-a419-4d25-80ac-9335053e58b2
(do not change this comment) */