summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-29 13:25:58 (GMT)
committerescoffon <escoffon>1998-07-29 13:25:58 (GMT)
commit571c38b3779b30067db399b56091a80826f3e8d1 (patch)
tree47e65b6a8ee23a2d4e830831fc06c077ce6f838a /generic/tclInt.h
parent0d1f2a5794e7b5e1a91ea7fce06a2177861d40db (diff)
downloadtcl-571c38b3779b30067db399b56091a80826f3e8d1.zip
tcl-571c38b3779b30067db399b56091a80826f3e8d1.tar.gz
tcl-571c38b3779b30067db399b56091a80826f3e8d1.tar.bz2
- added setting of EXPORT to DLLEXPORT if we are building the Tcl lib.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 346a8d8..dc9ae2f 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * SCCS: %Z% $Id: tclInt.h,v 1.12 1998/07/29 13:12:12 escoffon Exp $
+ * SCCS: %Z% $Id: tclInt.h,v 1.13 1998/07/29 13:26:06 escoffon Exp $
*/
#ifndef _TCLINT
@@ -57,6 +57,11 @@
# include <varargs.h>
#endif
+#ifdef BUILD_tcl
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* The following procedures allow namespaces to be customized to
* support special name resolution rules for commands/variables.
@@ -2092,5 +2097,8 @@ EXTERN void Tcl_SetNamespaceResolvers _ANSI_ARGS_((
Tcl_ResolveVarProc *varProc,
Tcl_ResolveCompiledVarProc *compiledVarProc));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TCLINT */