diff options
author | Tim Janik <timj@gtk.org> | 1999-01-04 20:09:59 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1999-01-04 20:09:59 +0000 |
commit | 250d1a07bb4687135793fa61bafe79f100b50e66 (patch) | |
tree | 117ba4e683a5d767185dde1a165fbe0f7892f26e /gmain.c | |
parent | 72b139a74d0fbc2a8924e81a201020655f084cbd (diff) | |
download | glib-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> |