summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-10 08:59:24 (GMT)
committernijtmans <nijtmans>2010-09-10 08:59:24 (GMT)
commit2d9b29197a1dbb4d152e669eb2e51f156a2c29cd (patch)
tree5518d2c9eeb4532b5060c62502b6c42f92440c1a /win/tkWinPort.h
parent6da8b413c4b3bf6801bd9935bce44a7764ab85f6 (diff)
downloadtk-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.h14
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>