summaryrefslogtreecommitdiffstats
path: root/generic/tclIntDecls.h
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2004-11-03 19:13:33 (GMT)
committerdavygrvy <davygrvy@pobox.com>2004-11-03 19:13:33 (GMT)
commitccdbf7af4fd7cd4694c8c3ade12c5e054d75750f (patch)
treef66be1556c55e0b8da6e2f22786fa95efb9fb935 /generic/tclIntDecls.h
parent2463762938a5ed358ba3ab3c6bab3bbc6bdd33c0 (diff)
downloadtcl-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/tclIntDecls.h')
-rw-r--r--generic/tclIntDecls.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h
index 7549771..eba2fa4 100644
--- a/generic/tclIntDecls.h
+++ b/generic/tclIntDecls.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIntDecls.h,v 1.72 2004/10/27 17:13:58 davygrvy Exp $
+ * RCS: @(#) $Id: tclIntDecls.h,v 1.73 2004/11/03 19:13:38 davygrvy Exp $
*/
#ifndef _TCLINTDECLS
@@ -19,10 +19,16 @@
#include "tclPort.h"
+#undef TCL_STORAGE_CLASS
#ifdef BUILD_tcl
-# undef TCL_STORAGE_CLASS
# define TCL_STORAGE_CLASS DLLEXPORT
-#endif /* BUILD_tcl */
+#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
@@ -2036,4 +2042,7 @@ extern TclIntStubs *tclIntStubsPtr;
/* !END!: Do not edit above this line. */
+#undef TCL_STORAGE_CLASS
+#define TCL_STORAGE_CLASS DLLIMPORT
+
#endif /* _TCLINTDECLS */