summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-07 08:21:04 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-07 08:21:04 (GMT)
commitdb2892db6109448ba250665844e64edb025f0931 (patch)
treebb763a092ea76fe2911650415497564331107af9 /unix/tclUnixPort.h
parent8331531a5ae5b90889e4426de38c45f40090256b (diff)
parentb5f6e611a433f8c7dd31605ef75a6f063acc8738 (diff)
downloadtcl-db2892db6109448ba250665844e64edb025f0931.zip
tcl-db2892db6109448ba250665844e64edb025f0931.tar.gz
tcl-db2892db6109448ba250665844e64edb025f0931.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 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