diff options
author | davygrvy <davygrvy@noemail.net> | 2004-11-03 19:13:33 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2004-11-03 19:13:33 (GMT) |
commit | 8df0970d86515ca5c257246f7d81c8d7c859bee2 (patch) | |
tree | f66be1556c55e0b8da6e2f22786fa95efb9fb935 /generic/tclIntPlatDecls.h | |
parent | 8951b5381214b20f66013e6086cd98d2b658e09f (diff) | |
download | tcl-8df0970d86515ca5c257246f7d81c8d7c859bee2.zip tcl-8df0970d86515ca5c257246f7d81c8d7c859bee2.tar.gz tcl-8df0970d86515ca5c257246f7d81c8d7c859bee2.tar.bz2 |
* generic/tcl.h: Moved the preprocessor logic
* generic/tclDecls.h: from tclInt.h of setting the
* generic/tclInt.h: TCL_STORAGE_CLASS macro to the
* generic/tclIntDecls.h: tcl*Decls.h files now that no
* generic/tclIntPlatDecls.h: use of EXTERN is left in tclInt.h.
* generic/tclPlatDecls.h: Proto for Tcl_Main moved in tcl.h
* win/tclWinPort.h: to prior the inclusion of the Stubs
headers as they are now resetting TCL_STORAGE_CLASS. Removed
extrainious reset from tclWinPort.h. [Patch 1055668]
FossilOrigin-Name: 89bb140d4a01d066769a412119bb9e78ce2a9a00
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r-- | generic/tclIntPlatDecls.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h index 5336621..a3c900c 100644 --- a/generic/tclIntPlatDecls.h +++ b/generic/tclIntPlatDecls.h @@ -9,12 +9,23 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.25 2004/06/07 16:48:45 dgp Exp $ + * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.26 2004/11/03 19:13:40 davygrvy Exp $ */ #ifndef _TCLINTPLATDECLS #define _TCLINTPLATDECLS +#undef TCL_STORAGE_CLASS +#ifdef BUILD_tcl +# define TCL_STORAGE_CLASS DLLEXPORT +#else +# ifdef USE_TCL_STUBS +# define TCL_STORAGE_CLASS +# else +# define TCL_STORAGE_CLASS DLLIMPORT +# endif +#endif + /* * WARNING: This file is automatically generated by the tools/genStubs.tcl * script. Any modifications to the function declarations below should be made @@ -549,4 +560,7 @@ extern TclIntPlatStubs *tclIntPlatStubsPtr; /* !END!: Do not edit above this line. */ +#undef TCL_STORAGE_CLASS +#define TCL_STORAGE_CLASS DLLIMPORT + #endif /* _TCLINTPLATDECLS */ |