summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-20 14:37:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-20 14:37:27 (GMT)
commitb8a68d0c335e5b303b12e9fd8194e27be780a219 (patch)
tree17fd1a08d397cdc6fc894f06d6de1d3c2eb7c142 /generic/tkIntXlibDecls.h
parent0c33edcbe038707fa9ad175f159140800fc6c621 (diff)
downloadtk-b8a68d0c335e5b303b12e9fd8194e27be780a219.zip
tk-b8a68d0c335e5b303b12e9fd8194e27be780a219.tar.gz
tk-b8a68d0c335e5b303b12e9fd8194e27be780a219.tar.bz2
Smarter initialization of doubleTypePtr/intTypePtr without hash-table lookup or creating complete Tcl_Obj's.
In Windows tests, allow up to 64 bits for HWND. Check stubs for "8.6-" in stead of "8.6", for better interoperability with "novem".
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index de44068..ce9752f 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -23,6 +23,10 @@
# include <tcl.h>
#endif
+#ifndef EXTERN
+# define EXTERN extern TCL_STORAGE_CLASS
+#endif
+
/* Some (older) versions of X11/Xutil.h have a wrong signature of those
two functions, so move them out of the way temporarly. */
#define XOffsetRegion _XOffsetRegion