From 7d5a924990d7856835762b18f86a383d661d4e54 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 20 Mar 1997 22:25:32 +0000 Subject: [PATCH] [project @ 1997-03-20 22:25:32 by sof] Rename __FD_SETSIZE to FD_SETSIZE, if necessary --- ghc/includes/stgdefs.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ghc/includes/stgdefs.h b/ghc/includes/stgdefs.h index 613c161..964cfce 100644 --- a/ghc/includes/stgdefs.h +++ b/ghc/includes/stgdefs.h @@ -247,9 +247,10 @@ char *stgMallocWords PROTO((I_, char *)); #include #endif /* HAVE_SYS_TYPES_H */ -/* A real hack this */ -#ifndef linux_TARGET_OS -# ifndef FD_SETSIZE +#ifndef FD_SETSIZE +# ifdef __FD_SETSIZE +# define FD_SETSIZE __FD_SETSIZE +# else /* cop out */ # define FD_SETSIZE 1024 # endif #endif -- 1.7.10.4