summaryrefslogtreecommitdiff
path: root/lisp/internal.h
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-04-23 19:54:46 +0000
committerEgbert Eich <eich@suse.de>2004-04-23 19:54:46 +0000
commit9f5d0de96f079e84c648a0173bffac8ec2c3bef5 (patch)
tree1008a7775a52ce81a8b28a5ff5cf2bc58527d5ff /lisp/internal.h
parent91547cc15f41faa1a55f2d764f67abd24777e9be (diff)
Merging XORG-CURRENT into trunkXACE-SELINUX-MERGE
Diffstat (limited to 'lisp/internal.h')
-rw-r--r--lisp/internal.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/lisp/internal.h b/lisp/internal.h
index a0c6f10..a866084 100644
--- a/lisp/internal.h
+++ b/lisp/internal.h
@@ -1,3 +1,4 @@
+/* $XdotOrg$ */
/*
* Copyright (c) 2001 by The XFree86 Project, Inc.
*
@@ -27,7 +28,7 @@
* Author: Paulo César Pereira de Andrade
*/
-/* $XFree86: xc/programs/xedit/lisp/internal.h,v 1.51 2003/05/27 22:27:03 tsi Exp $ */
+/* $XFree86: xc/programs/xedit/lisp/internal.h,v 1.50tsi Exp $ */
#ifndef Lisp_internal_h
#define Lisp_internal_h
@@ -549,6 +550,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 +649,11 @@ struct _LispObj {
} hash;
} data;
};
+#ifdef AIXV5
+#undef LispType
+#undef LispFunType
+#undef LispStreamType
+#endif
typedef LispObj *(*LispFunPtr)(LispBuiltin*);
typedef void (*LispComPtr)(LispCom*, LispBuiltin*);