diff options
author | escoffon <escoffon@noemail.net> | 1998-07-29 12:46:14 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-07-29 12:46:14 (GMT) |
commit | b42daf4a1490a85829d987d60dd598609e2038f7 (patch) | |
tree | 241c1d0f6645f17a876d7c73cb6d61d0b406e81b /win/tclWinReg.c | |
parent | 7c97549d61dc3094d56dfc917b2b6c7220cf5290 (diff) | |
download | tcl-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.c | 8 |
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. */ |