diff options
author | mp <mp@FreeBSD.org> | 2012-02-22 03:36:15 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2012-02-22 03:36:15 +0000 |
commit | 3ee51a00f36c11a6172d08d787943dfc63f66110 (patch) | |
tree | 522fd2d4d27770566e466a79d636194e5743d94a /contrib/tcsh/tc.os.h | |
parent | d177303078ee8f6069218009d6c3c2b6d9d9ca97 (diff) | |
parent | 54c5644df8eb87e7a5b1c4c411e349ac329ee04b (diff) | |
download | FreeBSD-src-3ee51a00f36c11a6172d08d787943dfc63f66110.zip FreeBSD-src-3ee51a00f36c11a6172d08d787943dfc63f66110.tar.gz |
Update to tcsh 6.18.01.
Diffstat (limited to 'contrib/tcsh/tc.os.h')
-rw-r--r-- | contrib/tcsh/tc.os.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/contrib/tcsh/tc.os.h b/contrib/tcsh/tc.os.h index 74f0d6f..6a46baf 100644 --- a/contrib/tcsh/tc.os.h +++ b/contrib/tcsh/tc.os.h @@ -1,4 +1,4 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.os.h,v 3.102 2007/07/05 14:13:06 christos Exp $ */ +/* $Header: /p/tcsh/cvsroot/tcsh/tc.os.h,v 3.105 2011/02/04 18:00:26 christos Exp $ */ /* * tc.os.h: Shell os dependent defines */ @@ -164,7 +164,7 @@ struct ucred { * It would break on glibc, where all this is * defined in <termios.h>. Wrapper added. */ -#if !defined(linux) && !defined(__GNU__) && !defined(__GLIBC__) && !defined(_VMS_POSIX) +#if !defined(__linux__) && !defined(__GNU__) && !defined(__GLIBC__) && !defined(_VMS_POSIX) # if defined(INTEL) || defined(u3b2) || defined (u3b5) || defined(ub15) || defined(u3b20d) || defined(ISC) || defined(SCO) || defined(tower32) # ifdef TIOCGWINSZ /* @@ -361,6 +361,18 @@ struct ucred { #ifndef O_RDWR # define O_RDWR 2 #endif /* O_RDWR */ +#ifndef O_TEMPORARY +# define O_TEMPORARY 0 +#endif /* O_TEMPORARY */ +#ifndef O_EXCL +# define O_EXCL 0 +#endif /* O_EXCL */ +#ifndef O_LARGEFILE +# define O_LARGEFILE 0 +#endif /* O_LARGEFILE */ +#ifndef O_CREAT +# define O_CREAT 0 +#endif /* O_CREAT */ /* * Lseek() @@ -601,4 +613,8 @@ extern int killpg (pid_t, int); # endif #endif +#if defined(__CYGWIN__) && !defined(NO_CRYPT) +extern char *cygwin_xcrypt(struct passwd *, const char *, const char *); +#endif /* __CYGWIN__ && !NO_CRYPT */ + #endif /* _h_tc_os */ |