summaryrefslogtreecommitdiff
path: root/gmain.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1999-01-04 20:09:59 +0000
committerTim Janik <timj@src.gnome.org>1999-01-04 20:09:59 +0000
commit250d1a07bb4687135793fa61bafe79f100b50e66 (patch)
tree117ba4e683a5d767185dde1a165fbe0f7892f26e /gmain.c
parent72b139a74d0fbc2a8924e81a201020655f084cbd (diff)
downloadglib-250d1a07bb4687135793fa61bafe79f100b50e66.tar.gz
eliminated extraneous "register" qualifiers in variable declarations.
Mon Jan 4 20:58:50 1999 Tim Janik <timj@gtk.org> * gscanner.c: eliminated extraneous "register" qualifiers in variable declarations. * gmain.c: #undef events and revents which may have been defined in sys/poll.h for SVR3,4 compatibility on some AIX systems. fix been provided by Philippe Defert <Philippe.Defert@cern.ch>.
Diffstat (limited to 'gmain.c')
-rw-r--r--gmain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gmain.c b/gmain.c
index 442138628..eecd18382 100644
--- a/gmain.c
+++ b/gmain.c
@@ -28,7 +28,9 @@
#include <sys/types.h>
#include <sys/time.h>
#ifdef GLIB_HAVE_SYS_POLL_H
-#include <sys/poll.h>
+# include <sys/poll.h>
+# undef events /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
+# undef revents /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
#endif /* GLIB_HAVE_SYS_POLL_H */
#include <unistd.h>
#include <errno.h>