summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-15 16:00:02 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-15 16:00:02 +0000
commite58c7d0bf282386e23a33e55e3d3524267922df2 (patch)
tree1bbbbbad6cebe7a3371c800162dc00ad60b88b75
parentfb1cda2e7f5c92e28883422c71bbb0101a24e7c9 (diff)
bring AIX config into the 21st Century
-rw-r--r--tocintrnl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tocintrnl.h b/tocintrnl.h
index 525e2e3..69ff9f0 100644
--- a/tocintrnl.h
+++ b/tocintrnl.h
@@ -39,6 +39,11 @@ typedef enum {
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 @@ typedef struct _MsgRec {
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. */