diff options
author | vincentdarley <vincentdarley> | 2002-06-12 09:28:58 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley> | 2002-06-12 09:28:58 (GMT) |
commit | 85fa4c1014f2115447bba5458e877fe974f04f1b (patch) | |
tree | 0c1a8deaa9b8d015e4714b9ce7fb77926a4d499c /win/tclWinPort.h | |
parent | c1e47417bf2cab1cb467c456f990114f78ad1680 (diff) | |
download | tcl-85fa4c1014f2115447bba5458e877fe974f04f1b.zip tcl-85fa4c1014f2115447bba5458e877fe974f04f1b.tar.gz tcl-85fa4c1014f2115447bba5458e877fe974f04f1b.tar.bz2 |
fs clarification and windows fixes
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 72f993f..951d2e7 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.30 2002/05/28 09:12:25 dkf Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.31 2002/06/12 09:28:59 vincentdarley Exp $ */ #ifndef _TCLWINPORT @@ -283,6 +283,10 @@ * defined. */ +#ifndef S_IFLNK +#define S_IFLNK 0120000 /* Symbolic Link */ +#endif + #ifndef S_ISREG # ifdef S_IFREG # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) @@ -318,6 +322,14 @@ # define S_ISFIFO(m) 0 # endif #endif /* !S_ISFIFO */ +#ifndef S_ISLNK +# ifdef S_IFLNK +# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) +# else +# define S_ISLNK(m) 0 +# endif +#endif /* !S_ISLNK */ + /* * Define MAXPATHLEN in terms of MAXPATH if available |