summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-22 11:40:31 (GMT)
committernijtmans <nijtmans>2010-04-22 11:40:31 (GMT)
commit4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de (patch)
treeb4c7c5b00f25f4e8cf1882d5b5e88eb39f9d3799 /generic/tcl.h
parent833ea84043d927c416802983797aa3884a894012 (diff)
downloadtcl-4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de.zip
tcl-4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de.tar.gz
tcl-4c3a083386d8c35e9a7d32b9f88b3ba9dc9fc9de.tar.bz2
Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)
Eliminate various unnecessary type casts.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index f9ce79a..8fd5772 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tcl.h,v 1.304 2010/04/15 14:56:32 nijtmans Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.305 2010/04/22 11:40:31 nijtmans Exp $
*/
#ifndef _TCL
@@ -2376,18 +2376,6 @@ EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr);
#endif
/*
- * Unfortunately, TCHAR is needed in tclPlatDecls.h for
- * win32, so if TCHAR is not defined yet do it here.
- * This way, we don't need to include <tchar.h> just
- * for one define.
- */
-#if !defined(_TCHAR_DEFINED)
-# if defined(__WIN32__)
- typedef char TCHAR;
-# define _TCHAR_DEFINED
-# endif
-#endif
-/*
*----------------------------------------------------------------------------
* Include the public function declarations that are accessible via the stubs
* table.