# HG changeset patch # User Claus Gittinger # Date 1077199980 -3600 # Node ID 2ae69eb663eb80c29b83d63f6c804c9447d57082 # Parent 1c252e9cf79c612fb4ba1caa957aa728163b13bb *** empty log message *** diff -r 1c252e9cf79c -r 2ae69eb663eb FileStream.st --- a/FileStream.st Thu Feb 19 00:51:18 2004 +0100 +++ b/FileStream.st Thu Feb 19 15:13:00 2004 +0100 @@ -76,15 +76,6 @@ # include #endif -#ifndef WIN32 - extern long ftell(); -# ifndef FREEBSD - extern long lseek(); -# endif -# define HFILE FILE * - -#endif - #ifdef WIN32 # define NO_STDIO # ifdef i386 @@ -178,10 +169,18 @@ # define HFILE FILE * /* # define fileno(f) f */ -// extern long lseek(); +# ifndef MAXPATHLEN +# define MAXPATHLEN MAXPATH +# endif +#else /* not WIN32 */ + extern long ftell(); +# ifndef FREEBSD + extern long lseek(); +# endif +# define HFILE FILE * -#endif /* WIN32 */ +#endif /* WIN32 or not WIN32*/ #include "stxOSDefs.h" @@ -1444,7 +1443,7 @@ !FileStream class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.103 2004-02-18 14:24:31 ca Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.104 2004-02-19 14:13:00 cg Exp $' ! ! FileStream initialize!