diff options
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r-- | generic/tclPlatDecls.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h index 44358c2..bcd8fc3 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.34 2009/12/21 23:25:40 nijtmans Exp $ + * RCS: @(#) $Id: tclPlatDecls.h,v 1.35 2010/01/13 06:46:56 nijtmans Exp $ */ #ifndef _TCLPLATDECLS @@ -26,7 +26,9 @@ /* * Pull in the typedef of TCHAR for windows. */ -#if defined(__WIN32__) && !defined(_TCHAR_DEFINED) +#if defined(__CYGWIN__) + typedef char TCHAR; +#elif defined(__WIN32__) && !defined(_TCHAR_DEFINED) # include <tchar.h> # ifndef _TCHAR_DEFINED /* Borland seems to forget to set this. */ @@ -37,8 +39,6 @@ /* MSVC++ misses this. */ typedef _TCHAR TCHAR; # endif -#elif defined(__CYGWIN__) - typedef char TCHAR; #endif /* !BEGIN!: Do not edit below this line. */ |