diff mac/inc/s-mac.h @ 59145:c331d9c412f2

* 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.
author Steven Tamm <steventamm@mac.com>
date Mon, 27 Dec 2004 17:23:53 +0000
parents 695cf19ef79e
children bcd06c8b1930 95879cc1ed20
line wrap: on
line diff
--- a/mac/inc/s-mac.h	Mon Dec 27 17:23:02 2004 +0000
+++ b/mac/inc/s-mac.h	Mon Dec 27 17:23:53 2004 +0000
@@ -255,6 +255,10 @@
 #include <unistd.h>
 #endif
 
+#ifndef X_OK
+#define X_OK 01
+#endif
+
 #undef unlink
 #define unlink sys_unlink
 #undef read
@@ -319,5 +323,15 @@
 
 #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) */