diff options
author | jenglish <jenglish@flightlab.com> | 2005-01-09 19:31:35 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2005-01-09 19:31:35 (GMT) |
commit | 0fd0a940d0f30779874e35c4c7838a11f7aea0a3 (patch) | |
tree | 137434cf38ca7522222e6473339b0a4d701b6a93 /unix/tclUnixPort.h | |
parent | 1710976abe1deba276cdd00851965d411927f959 (diff) | |
download | tcl-0fd0a940d0f30779874e35c4c7838a11f7aea0a3.zip tcl-0fd0a940d0f30779874e35c4c7838a11f7aea0a3.tar.gz tcl-0fd0a940d0f30779874e35c4c7838a11f7aea0a3.tar.bz2 |
Remove readdir_r() and related #ifdeffery (see #1095909).
Don't check for HAVE_READDIR_R. Regenerated configure script.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 190fc5f..48588e4 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.39 2004/11/12 14:18:29 dkf Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.40 2005/01/09 19:31:38 jenglish Exp $ */ #ifndef _TCLUNIXPORT @@ -56,11 +56,9 @@ #ifdef HAVE_STRUCT_DIRENT64 typedef struct dirent64 Tcl_DirEntry; # define TclOSreaddir readdir64 -# define TclOSreaddir_r readdir64_r #else typedef struct dirent Tcl_DirEntry; # define TclOSreaddir readdir -# define TclOSreaddir_r readdir_r #endif #ifdef HAVE_TYPE_OFF64_T @@ -558,17 +556,13 @@ typedef pthread_mutex_t TclpMutex; EXTERN void TclpMutexInit _ANSI_ARGS_((TclpMutex *mPtr)); EXTERN void TclpMutexLock _ANSI_ARGS_((TclpMutex *mPtr)); EXTERN void TclpMutexUnlock _ANSI_ARGS_((TclpMutex *mPtr)); -EXTERN Tcl_DirEntry * TclpReaddir(DIR *); EXTERN struct tm * TclpLocaltime(CONST time_t *); EXTERN struct tm * TclpGmtime(CONST time_t *); EXTERN char * TclpInetNtoa(struct in_addr); -# define readdir(x) TclpReaddir(x) /* #define localtime(x) TclpLocaltime(x) * #define gmtime(x) TclpGmtime(x) */ # undef inet_ntoa # define inet_ntoa(x) TclpInetNtoa(x) -# undef TclOSreaddir -# define TclOSreaddir(x) TclpReaddir(x) # ifdef MAC_OSX_TCL /* * On Mac OS X, realpath is currently not |