summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authorescoffon <escoffon@noemail.net>1998-07-29 13:25:57 (GMT)
committerescoffon <escoffon@noemail.net>1998-07-29 13:25:57 (GMT)
commit75b0cfaf89909013af476dd50a6e4794e5a991bf (patch)
tree47e65b6a8ee23a2d4e830831fc06c077ce6f838a /generic/tclCompile.h
parentbce8fa0ddc710f809abff08c39eab414c449d2eb (diff)
downloadtcl-75b0cfaf89909013af476dd50a6e4794e5a991bf.zip
tcl-75b0cfaf89909013af476dd50a6e4794e5a991bf.tar.gz
tcl-75b0cfaf89909013af476dd50a6e4794e5a991bf.tar.bz2
- added setting of EXPORT to DLLEXPORT if we are building the Tcl lib.
FossilOrigin-Name: 238cbde377beec0bb006a8c9a93c74c95779a415
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 5d42ce7..b1e700d 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -6,7 +6,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: tclCompile.h,v 1.5 1998/07/28 09:08:40 escoffon Exp $
+ * SCCS: %Z% $Id: tclCompile.h,v 1.6 1998/07/29 13:25:58 escoffon Exp $
*/
#ifndef _TCLCOMPILATION
@@ -16,6 +16,11 @@
#include "tclInt.h"
#endif /* _TCLINT */
+#ifdef BUILD_tcl
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
*------------------------------------------------------------------------
* Variables related to compilation. These are used in tclCompile.c,
@@ -1043,5 +1048,7 @@ EXTERN void TclRegisterAuxDataType _ANSI_ARGS_((AuxDataType *typePtr));
#define MAX_JUMP_DIST 5000
-#endif /* _TCLCOMPILATION */
+#undef EXPORT
+#define EXPORT DLLIMPORT
+#endif /* _TCLCOMPILATION */