summaryrefslogtreecommitdiff
path: root/gmain.c
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1999-03-14 20:57:41 +0000
committerRaja R Harinath <harinath@src.gnome.org>1999-03-14 20:57:41 +0000
commitbfc21756e14e4600c916c00e6ee03e1c10e0cc01 (patch)
tree9b7f5eb131f928ed584c963e2bfde2ca54742736 /gmain.c
parentcc7f8896079710aeb11e65020fb68c166dd66f07 (diff)
Remove widechar tests and defines. (fd_set): Change the grep for `fd_mask'
* configure.in (glibconfig.h): Remove widechar tests and defines. (fd_set): Change the grep for `fd_mask' to search for `fd_set'. * gerror.c (fd_mask): Remove conditional typedef. It is not used elsewhere in the file. * gmain.c (fd_mask): Likewise.
Diffstat (limited to 'gmain.c')
-rw-r--r--gmain.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gmain.c b/gmain.c
index 6dceb8821..4976ceb8d 100644
--- a/gmain.c
+++ b/gmain.c
@@ -321,14 +321,11 @@ g_poll (GPollFD *fds, guint nfds, gint timeout)
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
-#endif /* HAVE_SYS_SELECT_H_ */
+#endif /* HAVE_SYS_SELECT_H */
#ifndef NO_FD_SET
# define SELECT_MASK fd_set
#else /* !NO_FD_SET */
-# ifndef _AIX
-typedef long fd_mask;
-# endif /* _AIX */
# ifdef _IBMR2
# define SELECT_MASK void
# else /* !_IBMR2 */