diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclRegexp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tclRegexp.h b/generic/tclRegexp.h index 986316b..dc7696f 100644 --- a/generic/tclRegexp.h +++ b/generic/tclRegexp.h @@ -14,6 +14,11 @@ #include "tcl.h" #endif +#ifdef BUILD_tcl +# undef EXPORT +# define EXPORT DLLEXPORT +#endif + /* * NSUBEXP must be at least 10, and no greater than 117 or the parser * will not work properly. @@ -37,4 +42,7 @@ EXTERN void TclRegSub _ANSI_ARGS_((regexp *prog, char *source, char *dest)); EXTERN void TclRegError _ANSI_ARGS_((char *msg)); EXTERN char *TclGetRegError _ANSI_ARGS_((void)); +#undef EXPORT +#define EXPORT DLLIMPORT + #endif /* REGEXP */ |