diff options
author | davygrvy <davygrvy@pobox.com> | 2004-11-03 19:13:33 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2004-11-03 19:13:33 (GMT) |
commit | ccdbf7af4fd7cd4694c8c3ade12c5e054d75750f (patch) | |
tree | f66be1556c55e0b8da6e2f22786fa95efb9fb935 /generic/tclPlatDecls.h | |
parent | 2463762938a5ed358ba3ab3c6bab3bbc6bdd33c0 (diff) | |
download | tcl-ccdbf7af4fd7cd4694c8c3ade12c5e054d75750f.zip tcl-ccdbf7af4fd7cd4694c8c3ade12c5e054d75750f.tar.gz tcl-ccdbf7af4fd7cd4694c8c3ade12c5e054d75750f.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]
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r-- | generic/tclPlatDecls.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h index 932d24f..6dc83e0 100644 --- a/generic/tclPlatDecls.h +++ b/generic/tclPlatDecls.h @@ -6,12 +6,23 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclPlatDecls.h,v 1.23 2004/06/07 16:48:45 dgp Exp $ + * RCS: @(#) $Id: tclPlatDecls.h,v 1.24 2004/11/03 19:13:40 davygrvy Exp $ */ #ifndef _TCLPLATDECLS #define _TCLPLATDECLS +#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 + /* * Pull in the typedef of TCHAR for windows. */ @@ -123,6 +134,9 @@ extern TclPlatStubs *tclPlatStubsPtr; /* !END!: Do not edit above this line. */ +#undef TCL_STORAGE_CLASS +#define TCL_STORAGE_CLASS DLLIMPORT + #endif /* _TCLPLATDECLS */ |