summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tc.os.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/tc.os.h')
-rw-r--r--contrib/tcsh/tc.os.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/tcsh/tc.os.h b/contrib/tcsh/tc.os.h
index 2217f6c..2100200 100644
--- a/contrib/tcsh/tc.os.h
+++ b/contrib/tcsh/tc.os.h
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/tc.os.h,v 3.88 2002/05/16 13:51:26 christos Exp $ */
+/* $Header: /src/pub/tcsh/tc.os.h,v 3.90 2004/01/23 16:21:10 christos Exp $ */
/*
* tc.os.h: Shell os dependent defines
*/
@@ -33,9 +33,11 @@
#ifndef _h_tc_os
#define _h_tc_os
+#ifndef __STDC__
#ifndef WINNT_NATIVE
#define NEEDstrerror /* Too hard to find which systems have it */
#endif /* WINNT_NATIVE */
+#endif
#ifdef notdef
@@ -48,6 +50,8 @@
#endif /* notdef */
#ifdef __CYGWIN__
+# undef NOFILE
+# define NOFILE sysconf(_SC_OPEN_MAX)
# undef NEEDstrerror
#endif
OpenPOWER on IntegriCloud