summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.h
diff options
context:
space:
mode:
authorescoffon <escoffon@noemail.net>1998-07-29 12:38:04 (GMT)
committerescoffon <escoffon@noemail.net>1998-07-29 12:38:04 (GMT)
commite0e2cc257beb15e924a7f7f7e9b638f854d51df2 (patch)
tree4224e84c872ba6091786b3ab3db28091893777a5 /generic/tkButton.h
parent233eec67b5fb176a9af1918a22c311515bcd8500 (diff)
downloadtk-e0e2cc257beb15e924a7f7f7e9b638f854d51df2.zip
tk-e0e2cc257beb15e924a7f7f7e9b638f854d51df2.tar.gz
tk-e0e2cc257beb15e924a7f7f7e9b638f854d51df2.tar.bz2
added support for export/import of DLL symbols. If BUILD_tk is defined,
EXPORT is mapped to DLLEXPORT, otherwise it is DLLIMPORT. FossilOrigin-Name: 30f14886c79e35910f341ca8268acf520e57d63b
Diffstat (limited to 'generic/tkButton.h')
-rw-r--r--generic/tkButton.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkButton.h b/generic/tkButton.h
index 0d5b928..8e0ee3a 100644
--- a/generic/tkButton.h
+++ b/generic/tkButton.h
@@ -19,6 +19,11 @@
#include "tkInt.h"
#endif
+#ifdef BUILD_tk
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* A data structure of the following type is kept for each
* widget managed by this file:
@@ -238,4 +243,7 @@ EXTERN void TkpDisplayButton _ANSI_ARGS_((ClientData clientData));
#endif
EXTERN int TkInvokeButton _ANSI_ARGS_((TkButton *butPtr));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TKBUTTON */