diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-01-23 14:46:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-01-23 14:46:22 (GMT) |
commit | e0911ec4c26de1730f2f00b8d32a5e1980211dea (patch) | |
tree | 8f06b01a46f98cbd69ef3cfefa941daa32481766 /generic/tkIntXlibDecls.h | |
parent | c3894d8f32c0386305c5ead33eff1e8fceb377f2 (diff) | |
download | tk-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.h | 8 |
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 */ |