diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-02-13 09:57:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-02-13 09:57:07 (GMT) |
commit | 4a1828d3e7f328cce5d6b770ffbb6ea5a5373d0c (patch) | |
tree | ee4d9a63fa953072901b6d76880e60f81266dd78 /generic/tk.h | |
parent | 58dee83cb742162ddda8b91eb7a8132aebaa68b4 (diff) | |
download | tk-4a1828d3e7f328cce5d6b770ffbb6ea5a5373d0c.zip tk-4a1828d3e7f328cce5d6b770ffbb6ea5a5373d0c.tar.gz tk-4a1828d3e7f328cce5d6b770ffbb6ea5a5373d0c.tar.bz2 |
Make tk.h work unchanged with Tcl 9.0 (novem), account for possible missing TCL_STORAGE_CLASS definition. More internal use of size_t in stead of int.
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tk.h b/generic/tk.h index 1d070d3..1cb10e2 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -105,6 +105,10 @@ extern "C" { #ifdef BUILD_tk #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLEXPORT +#else +# ifndef TCL_STORAGE_CLASS +# define TCL_STORAGE_CLASS DLLIMPORT +# endif #endif /* |