summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortsi <tsi>2003-08-27 21:43:19 +0000
committertsi <tsi>2003-08-27 21:43:19 +0000
commit64467cbc7d892cf8084038ae2c5b7b4dc066dbd5 (patch)
tree32d142c45f646e26b94228bc0df57e89db908333 /lib
parente904f68192d08c2a14519f21587d0c8c7bdaaac6 (diff)
Build fix
Diffstat (limited to 'lib')
-rw-r--r--lib/xtrans/Xtransint.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/xtrans/Xtransint.h b/lib/xtrans/Xtransint.h
index 8676ed53f..097a5c8a1 100644
--- a/lib/xtrans/Xtransint.h
+++ b/lib/xtrans/Xtransint.h
@@ -26,7 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
-/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.37 2003/08/04 10:32:21 eich Exp $ */
+/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.38 2003/08/11 17:41:29 eich Exp $ */
/* Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA
*
@@ -132,7 +132,8 @@ from The Open Group.
# endif
# endif
# ifndef OPEN_MAX
-# if defined __GNU__ || _POSIX_VERSION >= 199309
+# if defined(_SC_OPEN_MAX)
+# undef OPEN_MAX
# define OPEN_MAX (sysconf(_SC_OPEN_MAX))
# endif
# ifdef SVR4