diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-07 08:21:04 (GMT) | 
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-07 08:21:04 (GMT) | 
| commit | 44f9dae0c50ffda941a790229ff3df1eec600aae (patch) | |
| tree | bb763a092ea76fe2911650415497564331107af9 /unix/tclUnixPort.h | |
| parent | 5eb15ad21fe5fc08b93ebb556b553af65f082ffc (diff) | |
| parent | e40e34cb04d940b132e66ccd21b3018a68ffe3f7 (diff) | |
| download | tcl-44f9dae0c50ffda941a790229ff3df1eec600aae.zip tcl-44f9dae0c50ffda941a790229ff3df1eec600aae.tar.gz tcl-44f9dae0c50ffda941a790229ff3df1eec600aae.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.h | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 8b7fab1..8684757 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, @@ -627,8 +626,8 @@ typedef int socklen_t;  #define TclpExit		exit  #ifdef TCL_THREADS -EXTERN struct tm *     	TclpLocaltime(CONST time_t *); -EXTERN struct tm *     	TclpGmtime(CONST time_t *); +EXTERN struct tm *TclpLocaltime(CONST time_t *); +EXTERN struct tm *TclpGmtime(CONST time_t *);  /* #define localtime(x)	TclpLocaltime(x)   * #define gmtime(x)	TclpGmtime(x)    */  #   undef inet_ntoa  | 
