summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-23 14:46:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-23 14:46:22 (GMT)
commite0911ec4c26de1730f2f00b8d32a5e1980211dea (patch)
tree8f06b01a46f98cbd69ef3cfefa941daa32481766 /generic/tkIntXlibDecls.h
parentc3894d8f32c0386305c5ead33eff1e8fceb377f2 (diff)
downloadtk-e0911ec4c26de1730f2f00b8d32a5e1980211dea.zip
tk-e0911ec4c26de1730f2f00b8d32a5e1980211dea.tar.gz
tk-e0911ec4c26de1730f2f00b8d32a5e1980211dea.tar.bz2
If Tk is compiled with -DTK_NO_DEPRECATED=1, remove some deprecated code (pack subcommands) and other stuff which is not used any more.
And fix a few typos. Remove rmd.bat and rmd.bat, which are also not used any more.
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index ce9752f..67b7c39 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -36,8 +36,12 @@
#undef XUnionRegion
#ifdef BUILD_tk
-#undef TCL_STORAGE_CLASS
-#define TCL_STORAGE_CLASS DLLEXPORT
+# undef TCL_STORAGE_CLASS
+# define TCL_STORAGE_CLASS DLLEXPORT
+#else
+# ifndef TCL_STORAGE_CLASS
+# define TCL_STORAGE_CLASS DLLIMPORT
+# endif
#endif
typedef int (*XAfterFunction) ( /* WARNING, this type not in Xlib spec */