summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tc.os.h
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
committermp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
commitbbd1addf8f9452690ad13ce5b875ee4cc9633958 (patch)
tree730792f0cc19f3bb4fb663fe727589381f5901be /contrib/tcsh/tc.os.h
parentf2c2aa29b7d05c53575ab7ce4dc5870fd33a1310 (diff)
downloadFreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.zip
FreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.tar.gz
Import of tcsh-6.13.00
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