diff options
author | davygrvy <davygrvy@noemail.net> | 2001-09-05 03:34:22 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2001-09-05 03:34:22 (GMT) |
commit | 4d78a77421642419149e3508356652c11359330d (patch) | |
tree | d3cdd86f3a1a21a7957fc9024a81c5f180a25c37 /generic/tclPlatDecls.h | |
parent | db4e13e94bb0ee537fe90390dcf292268352d113 (diff) | |
download | tcl-4d78a77421642419149e3508356652c11359330d.zip tcl-4d78a77421642419149e3508356652c11359330d.tar.gz tcl-4d78a77421642419149e3508356652c11359330d.tar.bz2 |
* generic/tcl.h:
* generic/tclPlatDecls.h: Borland compatibility change so
ClientData was properly typed as a void* and TCHAR would not be
defined twice.
FossilOrigin-Name: 9a750bbc5c19bc75423b548fcfde86e944534f22
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r-- | generic/tclPlatDecls.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h index 209de2d..0201034 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.8 2001/08/02 20:15:40 mdejong Exp $ + * RCS: @(#) $Id: tclPlatDecls.h,v 1.9 2001/09/05 03:34:22 davygrvy Exp $ */ #ifndef _TCLPLATDECLS @@ -17,8 +17,12 @@ * of the core are matching against your project build for these * public functions. BE AWARE. */ -#if defined(__WIN32__) && !defined(_INC_TCHAR) -#include <tchar.h> +#if defined(__WIN32__) && (!defined(_TCHAR_DEFINED) && !defined(__TCHAR_DEFINED)) +# include <tchar.h> +# ifndef _TCHAR_DEFINED + /* tchar.h doesn't set this. winnt.h checks this. */ +# define _TCHAR_DEFINED +# endif #endif /* !BEGIN!: Do not edit below this line. */ |