diff options
author | nijtmans <nijtmans> | 2010-11-16 14:57:45 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-11-16 14:57:45 (GMT) |
commit | a27660e4655bcf0b9f4fec0208158f0c79d6b396 (patch) | |
tree | 8dffaa81180d63aa832fb89472ccc54b1e566b18 /generic | |
parent | 94b169466ea295a3f47a309b1285f47958c2323e (diff) | |
download | tcl-a27660e4655bcf0b9f4fec0208158f0c79d6b396.zip tcl-a27660e4655bcf0b9f4fec0208158f0c79d6b396.tar.gz tcl-a27660e4655bcf0b9f4fec0208158f0c79d6b396.tar.bz2 |
[Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclPlatDecls.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h index 7597527..3fd8bf7 100644 --- a/generic/tclPlatDecls.h +++ b/generic/tclPlatDecls.h @@ -6,7 +6,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclPlatDecls.h,v 1.27.2.2 2010/05/21 12:18:17 nijtmans Exp $ + * RCS: @(#) $Id: tclPlatDecls.h,v 1.27.2.3 2010/11/16 14:57:46 nijtmans Exp $ */ #ifndef _TCLPLATDECLS @@ -33,6 +33,10 @@ typedef _TCHAR TCHAR; # define _TCHAR_DEFINED # endif +# if defined(_MSC_VER) && defined(__STDC__) + /* VS2005 SP1 misses this. See [Bug #3110161] */ + typedef _TCHAR TCHAR; +# endif #endif /* !BEGIN!: Do not edit below this line. */ |