diff options
author | escoffon <escoffon> | 1998-07-29 12:46:15 (GMT) |
---|---|---|
committer | escoffon <escoffon> | 1998-07-29 12:46:15 (GMT) |
commit | 108aafca8776741d650fca8440a5331bd8188a98 (patch) | |
tree | 241c1d0f6645f17a876d7c73cb6d61d0b406e81b /win | |
parent | 72ab2e65a089e9325df90435b35548d331eb2496 (diff) | |
download | tcl-108aafca8776741d650fca8440a5331bd8188a98.zip tcl-108aafca8776741d650fca8440a5331bd8188a98.tar.gz tcl-108aafca8776741d650fca8440a5331bd8188a98.tar.bz2 |
set EXPORT to DLLEXPORT unconditionally, since the declaration of
Registry_Init is inside the source file.
Diffstat (limited to 'win')
-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. */ |