diff options
| author | Mark Peek <mp@FreeBSD.org> | 2004-07-11 02:17:56 +0000 |
|---|---|---|
| committer | Mark Peek <mp@FreeBSD.org> | 2004-07-11 02:17:56 +0000 |
| commit | ed620727e2f8c40f85e894795ed40b39c2ea0624 (patch) | |
| tree | d96ddad6fded51e784b4b77eea8ca0d82efa5497 /contrib/tcsh/tc.os.h | |
| parent | 412e1faf0257e6fa36bab9d6a6446bf1592c8935 (diff) | |
| parent | b2d5d167edc56df47468e5836b8129dfd3d0369a (diff) | |
Notes
Diffstat (limited to 'contrib/tcsh/tc.os.h')
| -rw-r--r-- | contrib/tcsh/tc.os.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/tcsh/tc.os.h b/contrib/tcsh/tc.os.h index 2217f6ca3faf..2100200c9fb5 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 |
