diff options
author | mdejong <mdejong@noemail.net> | 2001-07-19 06:40:09 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2001-07-19 06:40:09 (GMT) |
commit | 13be7a0a386748fbd26f3ba8d4b1549759e0e22d (patch) | |
tree | fe7eccd416cacef313f40a0b5962129a67ea87cd /win/tclWinPort.h | |
parent | 0083a26b852639e15164a868ffa8c67dd3461c75 (diff) | |
download | tcl-13be7a0a386748fbd26f3ba8d4b1549759e0e22d.zip tcl-13be7a0a386748fbd26f3ba8d4b1549759e0e22d.tar.gz tcl-13be7a0a386748fbd26f3ba8d4b1549759e0e22d.tar.bz2 |
* generic/tclPlatDecls.h: Define TCHAR by including
windows.h instead of tchar.h since Cygwin does not
support the tchar.h header. Include CHECK_UNICODE_CALLS
logic from tclWinPort.h.
* win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic.
Remove include of windows.h since this now done it
tclPlatDecls.h.
* win/tclWinReg.c: Remove duplicate include of windows.h.
FossilOrigin-Name: 750a94af1da9e3de8c5a743d05420417ebcc8e71
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 3b223b8..dd4d25e 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.16 2001/07/17 18:33:24 mdejong Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.17 2001/07/19 06:40:09 mdejong Exp $ */ #ifndef _TCLWINPORT @@ -20,19 +20,6 @@ # include "tclInt.h" #endif -#ifdef CHECK_UNICODE_CALLS - -#define _UNICODE -#define UNICODE - -#define __TCHAR_DEFINED -typedef float *_TCHAR; - -#define _TCHAR_DEFINED -typedef float *TCHAR; - -#endif - /* *--------------------------------------------------------------------------- * The following sets of #includes and #ifdefs are required to get Tcl to @@ -66,10 +53,6 @@ typedef float *TCHAR; #include <time.h> #include <winsock.h> -#define WIN32_LEAN_AND_MEAN -#include <windows.h> -#undef WIN32_LEAN_AND_MEAN - #ifdef BUILD_tcl # undef TCL_STORAGE_CLASS # define TCL_STORAGE_CLASS DLLEXPORT |