diff options
author | nijtmans <nijtmans> | 2010-09-10 08:59:24 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-09-10 08:59:24 (GMT) |
commit | 2d9b29197a1dbb4d152e669eb2e51f156a2c29cd (patch) | |
tree | 5518d2c9eeb4532b5060c62502b6c42f92440c1a /win/tkWinTest.c | |
parent | 6da8b413c4b3bf6801bd9935bce44a7764ab85f6 (diff) | |
download | tk-2d9b29197a1dbb4d152e669eb2e51f156a2c29cd.zip tk-2d9b29197a1dbb4d152e669eb2e51f156a2c29cd.tar.gz tk-2d9b29197a1dbb4d152e669eb2e51f156a2c29cd.tar.bz2 |
Make compilable with -DUNICODE, or mark files with a TODO which are not done yet.
tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
Diffstat (limited to 'win/tkWinTest.c')
-rw-r--r-- | win/tkWinTest.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/win/tkWinTest.c b/win/tkWinTest.c index edd3338..e074283 100644 --- a/win/tkWinTest.c +++ b/win/tkWinTest.c @@ -11,15 +11,19 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinTest.c,v 1.32 2010/09/09 14:59:24 nijtmans Exp $ + * RCS: @(#) $Id: tkWinTest.c,v 1.33 2010/09/10 08:59:27 nijtmans Exp $ */ -#ifndef USE_TCL_STUBS -# define USE_TCL_STUBS -#endif -#ifndef USE_TK_STUBS -# define USE_TK_STUBS -#endif +/* TODO: This file does not compile in UNICODE mode. + * See [Freq 2965056]: Windows build with -DUNICODE + */ +#undef UNICODE +#undef _UNICODE + +#undef USE_TCL_STUBS +#define USE_TCL_STUBS +#undef USE_TK_STUBS +#define USE_TK_STUBS #include "tkWinInt.h" HWND tkWinCurrentDialog; |