summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-08-04 11:48:17 (GMT)
committerescoffon <escoffon>1998-08-04 11:48:17 (GMT)
commit7b465e4732fc0771f3cc42ceb19add6a7c58ecc6 (patch)
tree4301b600097897620ed3616978d20db6d0889a37
parent75fb0019552a40e8411a48baff309b47141c4aa5 (diff)
downloadtcl-7b465e4732fc0771f3cc42ceb19add6a7c58ecc6.zip
tcl-7b465e4732fc0771f3cc42ceb19add6a7c58ecc6.tar.gz
tcl-7b465e4732fc0771f3cc42ceb19add6a7c58ecc6.tar.bz2
EXPORT is now TCL_STORAGE_CLASS
-rw-r--r--generic/tclMain.c4
-rw-r--r--win/tclWinReg.c11
2 files changed, 8 insertions, 7 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 15a4e0f..a18e11c 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -15,8 +15,8 @@
#include "tcl.h"
#include "tclInt.h"
-# undef EXPORT
-# define EXPORT DLLEXPORT
+# undef TCL_STORAGE_CLASS
+# define TCL_STORAGE_CLASS DLLEXPORT
/*
* The following code ensures that tclLink.c is linked whenever
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 7d7a377..97b2f19 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -21,12 +21,13 @@
#undef WIN32_LEAN_AND_MEAN
/*
- * EXPORT is set unconditionally to DLLEXPORT because the Registry_Init
- * declaration is in the source file itself, which is only accessed when
- * we are building a library
+ * TCL_STORAGE_CLASS is set unconditionally to DLLEXPORT because the
+ * Registry_Init declaration is in the source file itself, which is only
+ * accessed when we are building a library.
*/
-#undef EXPORT
-#define EXPORT DLLEXPORT
+
+#undef TCL_STORAGE_CLASS
+#define TCL_STORAGE_CLASS DLLEXPORT
/*
* VC++ has an alternate entry point called DllMain, so we need to rename