summaryrefslogtreecommitdiffstats
path: root/generic/tclPlatDecls.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r--generic/tclPlatDecls.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h
index 51ed55a..3425a9a 100644
--- a/generic/tclPlatDecls.h
+++ b/generic/tclPlatDecls.h
@@ -6,16 +6,14 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclPlatDecls.h,v 1.14 2002/01/25 21:36:09 dgp Exp $
+ * RCS: @(#) $Id: tclPlatDecls.h,v 1.15 2002/01/28 12:23:06 davygrvy Exp $
*/
#ifndef _TCLPLATDECLS
#define _TCLPLATDECLS
/*
- * Pull in the definition of TCHAR. Hopefully the compile flags
- * of the core are matching against your project build for these
- * public functions. BE AWARE.
+ * Pull in the typedef of TCHAR for windows.
*/
#if defined(__WIN32__) && !defined(_TCHAR_DEFINED)
# include <tchar.h>
@@ -24,6 +22,10 @@
typedef _TCHAR TCHAR;
# define _TCHAR_DEFINED
# endif
+# if defined(_MSC_VER) && defined(__STDC__)
+ /* MSVC++ misses this. */
+ typedef _TCHAR TCHAR;
+# endif
#endif
/* !BEGIN!: Do not edit below this line. */