diff options
author | nijtmans <nijtmans@noemail.net> | 2010-05-21 12:18:17 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-05-21 12:18:17 (GMT) |
commit | bd1f65e665ea2f30c698660a6a1e1610231be053 (patch) | |
tree | c039072f1625d73a9fe7bb523fc746025a610fbc /generic/tclPlatDecls.h | |
parent | 2a2056ba7acc4319ebae60c2cb2778502c2a4348 (diff) | |
download | tcl-bd1f65e665ea2f30c698660a6a1e1610231be053.zip tcl-bd1f65e665ea2f30c698660a6a1e1610231be053.tar.gz tcl-bd1f65e665ea2f30c698660a6a1e1610231be053.tar.bz2 |
installData.tcl: Make sure that copyDir only receives normalized paths.
tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN.
tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN.
*.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
FossilOrigin-Name: 624625fe98a646ff7137e7331d7185ebd1886049
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r-- | generic/tclPlatDecls.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h index 5718b96..7597527 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.1 2010/02/07 22:16:54 nijtmans Exp $ + * RCS: @(#) $Id: tclPlatDecls.h,v 1.27.2.2 2010/05/21 12:18:17 nijtmans Exp $ */ #ifndef _TCLPLATDECLS @@ -26,18 +26,12 @@ /* * Pull in the typedef of TCHAR for windows. */ -#if defined(__CYGWIN__) - typedef char TCHAR; -#elif defined(__WIN32__) && !defined(_TCHAR_DEFINED) +#if defined(__WIN32__) && !defined(_TCHAR_DEFINED) # include <tchar.h> # ifndef _TCHAR_DEFINED /* Borland seems to forget to set this. */ - typedef _TCHAR TCHAR; -# define _TCHAR_DEFINED -# endif -# if defined(_MSC_VER) && defined(__STDC__) - /* MSVC++ misses this. */ typedef _TCHAR TCHAR; +# define _TCHAR_DEFINED # endif #endif |