From 54f9510d6a25a725ce464f27a4eb7d7dbf8866be Mon Sep 17 00:00:00 2001 From: escoffon Date: Wed, 29 Jul 1998 13:50:02 +0000 Subject: - added setting of EXPORT to DLLEXPORT if we are building Tcl. --- generic/tclRegexp.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 */ -- cgit v0.12