[Xorg-commit] xc/programs/xedit/lisp internal.h,1.1.4.1,1.1.4.2

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Mon Dec 15 18:00:39 EET 2003


Committed by: kaleb

Update of /cvs/xorg/xc/programs/xedit/lisp
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/programs/xedit/lisp

Modified Files:
      Tag: XORG-CURRENT
	internal.h 
Log Message:
bring AIX config into the 21st Century

Index: internal.h
===================================================================
RCS file: /cvs/xorg/xc/programs/xedit/lisp/internal.h,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- internal.h	26 Nov 2003 22:49:11 -0000	1.1.4.1
+++ internal.h	15 Dec 2003 16:00:01 -0000	1.1.4.2
@@ -549,6 +549,13 @@
     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 @@
 	} hash;
     } data;
 };
+#ifdef AIXV5
+#undef LispType
+#undef LispFunType
+#undef LispStreamType
+#endif
 
 typedef	LispObj *(*LispFunPtr)(LispBuiltin*);
 typedef void (*LispComPtr)(LispCom*, LispBuiltin*);





More information about the xorg-commit mailing list