summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-07 06:33:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-07 06:33:12 (GMT)
commite40e34cb04d940b132e66ccd21b3018a68ffe3f7 (patch)
treece636b6d780ba4a747644cdcc679f3359fe92bce /unix/tclUnixPort.h
parent05859b921e7478bb5202dcc464028b7b25db7a43 (diff)
downloadtcl-e40e34cb04d940b132e66ccd21b3018a68ffe3f7.zip
tcl-e40e34cb04d940b132e66ccd21b3018a68ffe3f7.tar.gz
tcl-e40e34cb04d940b132e66ccd21b3018a68ffe3f7.tar.bz2
move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h,
so it can be used for the Plat* interfaces as well
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 85f2b13..9a76301 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -83,7 +83,6 @@ typedef off_t Tcl_SeekOffset;
# define HINSTANCE void *
# define SOCKET unsigned int
# define WSAEWOULDBLOCK 10035
- typedef char TCHAR;
DLLIMPORT extern __stdcall int GetModuleHandleExW(unsigned int, const char *, void *);
DLLIMPORT extern __stdcall int GetModuleFileNameW(void *, const char *, int);
DLLIMPORT extern __stdcall int WideCharToMultiByte(int, int, const char *, int,
@@ -709,10 +708,10 @@ EXTERN void TclpMutexLock _ANSI_ARGS_((TclpMutex *mPtr));
EXTERN void TclpMutexUnlock _ANSI_ARGS_((TclpMutex *mPtr));
EXTERN Tcl_DirEntry * TclpReaddir(DIR *);
#ifndef TclpLocaltime
-EXTERN struct tm * TclpLocaltime(TclpTime_t_CONST);
+EXTERN struct tm *TclpLocaltime(TclpTime_t_CONST);
#endif
#ifndef TclpGmtime
-EXTERN struct tm * TclpGmtime(TclpTime_t_CONST);
+EXTERN struct tm *TclpGmtime(TclpTime_t_CONST);
#endif
#define inet_ntoa(x) TclpInetNtoa(x)
#else