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 | |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclPlatDecls.h | 6 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2010-11-16 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/tclPlatDecls.h [Bug #3110161]: Extensions using TCHAR don't compile + on VS2005 SP1 + 2010-11-15 Andreas Kupries <andreask@activestate.com> * doc/interp.n: [3081184] TIP #378. 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. */ |