summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
diff options
context:
space:
mode:
authorescoffon <escoffon@noemail.net>1998-07-29 12:46:14 (GMT)
committerescoffon <escoffon@noemail.net>1998-07-29 12:46:14 (GMT)
commitb42daf4a1490a85829d987d60dd598609e2038f7 (patch)
tree241c1d0f6645f17a876d7c73cb6d61d0b406e81b /win/tclWinReg.c
parent7c97549d61dc3094d56dfc917b2b6c7220cf5290 (diff)
downloadtcl-b42daf4a1490a85829d987d60dd598609e2038f7.zip
tcl-b42daf4a1490a85829d987d60dd598609e2038f7.tar.gz
tcl-b42daf4a1490a85829d987d60dd598609e2038f7.tar.bz2
set EXPORT to DLLEXPORT unconditionally, since the declaration of
Registry_Init is inside the source file. FossilOrigin-Name: bba8ed34e5af0a21d069d89453568b614b5e4bb4
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r--win/tclWinReg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 3054e53..7d7a377 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -21,6 +21,14 @@
#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
+ */
+#undef EXPORT
+#define EXPORT DLLEXPORT
+
+/*
* VC++ has an alternate entry point called DllMain, so we need to rename
* our entry point.
*/