[Xorg-commit] xc/programs/xmh tocintrnl.h,1.1.4.1,1.1.4.2

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


Committed by: kaleb

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

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

Index: tocintrnl.h
===================================================================
RCS file: /cvs/xorg/xc/programs/xmh/tocintrnl.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
--- tocintrnl.h	26 Nov 2003 22:49:12 -0000	1.1.4.1
+++ tocintrnl.h	15 Dec 2003 16:00:02 -0000	1.1.4.2
@@ -39,6 +39,11 @@
     unknown, valid, invalid
 } ValidType;
 
+/* silly IBM compiler, but it's probably just as silly to use bitfields. */
+#ifdef AIXV5 /* probably want !gcc too */
+#define FateType int
+#endif
+
 typedef struct _MsgRec {
     Toc		toc;		/* Which toc this message is in. */
     Toc		desttoc;	/* Folder to copy or move to (NULL if none) */
@@ -60,6 +65,10 @@
     unsigned	unused:2;
 } MsgRec;
 
+#ifdef AIXV5 /* probably want !gcc too */
+#undef FateType
+#endif
+
 typedef struct _TocRec {
    Scrn		*scrn;		/* Scrns containing this table of contents. */
    Cardinal	num_scrns;	/* How many scrns are currently showing toc. */





More information about the xorg-commit mailing list