summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-15 16:00:01 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-15 16:00:01 +0000
commite46fcaa7556114707d282f4d65d9d0890cd91837 (patch)
tree17b45c924f713921f745866adbc5d0c91c8c516e
parenta63af33455205884f1ad68a329bd9661f19e7fe7 (diff)
bring AIX config into the 21st Century
-rw-r--r--lisp/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/internal.h b/lisp/internal.h
index a0c6f10..855bb42 100644
--- a/lisp/internal.h
+++ b/lisp/internal.h
@@ -549,6 +549,13 @@ typedef struct {
LispObj *errorp; /* ALWAYS (ONLY) READABLE: stderr of program */
} LispPipe;
+/* silly IBM compiler */
+#ifdef AIXV5 /* probably want !gcc too */
+#define LispType int
+#define LispFunType int
+#define LispStreamType int
+#endif
+
struct _LispObj {
LispType type : 6;
unsigned int mark : 1; /* gc protected */
@@ -641,6 +648,11 @@ struct _LispObj {
} hash;
} data;
};
+#ifdef AIXV5
+#undef LispType
+#undef LispFunType
+#undef LispStreamType
+#endif
typedef LispObj *(*LispFunPtr)(LispBuiltin*);
typedef void (*LispComPtr)(LispCom*, LispBuiltin*);