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/tkWinPort.h | |
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/tkWinPort.h')
-rw-r--r-- | win/tkWinPort.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h index 4146914..68dfe8b 100644 --- a/win/tkWinPort.h +++ b/win/tkWinPort.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: tkWinPort.h,v 1.16 2010/04/20 08:17:33 nijtmans Exp $ + * RCS: @(#) $Id: tkWinPort.h,v 1.17 2010/09/10 08:59:26 nijtmans Exp $ */ #ifndef _WINPORT @@ -54,13 +54,11 @@ /* * Pull in the typedef of TCHAR for windows. */ -#if !defined(_TCHAR_DEFINED) -# include <tchar.h> -# ifndef _TCHAR_DEFINED - /* Borland seems to forget to set this. */ - typedef _TCHAR TCHAR; -# define _TCHAR_DEFINED -# endif +#include <tchar.h> +#ifndef _TCHAR_DEFINED + /* Borland seems to forget to set this. */ + typedef _TCHAR TCHAR; +# define _TCHAR_DEFINED #endif #include <X11/Xlib.h> |