diff options
author | davygrvy <davygrvy@pobox.com> | 2002-06-18 00:12:24 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2002-06-18 00:12:24 (GMT) |
commit | 2a58823e756c00cf27d05db75d5b507b78787a9f (patch) | |
tree | a79e28d26611c7fd48e8b2d9c1e181f68684c545 /generic/tcl.h | |
parent | 6bc33db4402cc162594aa68e4d6450291e48600a (diff) | |
download | tcl-2a58823e756c00cf27d05db75d5b507b78787a9f.zip tcl-2a58823e756c00cf27d05db75d5b507b78787a9f.tar.gz tcl-2a58823e756c00cf27d05db75d5b507b78787a9f.tar.bz2 |
Trims to support the removal of RESOURCE_INCLUDED from rc
scripts from FR #565088.
* generic/tcl.h: moved the #ifndef RC_INVOKED start block up in
the file. rc scripts don't need to know thread mutexes.
* win/tcl.rc:
* win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the
built-in -DRC_INVOKED to the work.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 85e63c1..0405cb4 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.127 2002/06/17 22:52:51 hobbs Exp $ + * RCS: @(#) $Id: tcl.h,v 1.128 2002/06/18 00:12:44 davygrvy Exp $ */ #ifndef _TCL @@ -118,6 +118,16 @@ extern "C" { # define JOIN1(a,b) a##b #endif +/* + * A special definition used to allow this header file to be included + * from windows resource files so that they can obtain version + * information. RC_INVOKED is defined by default by the RC tool. + * Resource compilers don't like all the C stuff, like typedefs and + * procedure declarations, that occur below, so block them out. + */ + +#ifndef RC_INVOKED + /* * Special macro to define mutexes, that doesn't do anything * if we are not using threads. @@ -143,16 +153,6 @@ extern "C" { #define Tcl_ConditionFinalize(condPtr) #endif /* TCL_THREADS */ -/* - * A special definition used to allow this header file to be included - * from windows resource files so that they can obtain version - * information. RC_INVOKED is defined by default by the RC tool. - * Resource compilers don't like all the C stuff, like typedefs and - * procedure declarations, that occur below, so block them out. - */ - -#ifndef RC_INVOKED - #ifndef BUFSIZ # include <stdio.h> |