summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-05 21:26:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-05 21:26:32 (GMT)
commite762154f0bff6ba4f30c05b791f85c1ea8c5840f (patch)
tree7ae4f023810416ab755f8319d3bafdf15b58435e /unix
parentb5e5eb8d4b8a55802c54fa30f26ae49fab86033b (diff)
downloadtk-e762154f0bff6ba4f30c05b791f85c1ea8c5840f.zip
tk-e762154f0bff6ba4f30c05b791f85c1ea8c5840f.tar.gz
tk-e762154f0bff6ba4f30c05b791f85c1ea8c5840f.tar.bz2
More code cleanup, related to (unused) wchar_t, TCL_THREADS macro, and better use of size_t
Diffstat (limited to 'unix')
-rw-r--r--unix/tkConfig.h.in6
-rw-r--r--unix/tkUnixEvent.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in
index 4fd7726..edd7aa6 100644
--- a/unix/tkConfig.h.in
+++ b/unix/tkConfig.h.in
@@ -133,9 +133,6 @@
/* Is this a static build? */
#undef STATIC_BUILD
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
/* Is this a 64-bit build? */
#undef TCL_CFG_DO64BIT
@@ -154,9 +151,6 @@
/* What is the default extension for shared libraries? */
#undef TCL_SHLIB_EXT
-/* Are we building with threads enabled? */
-#undef TCL_THREADS
-
/* Are wide integers to be implemented with C 'long's? */
#undef TCL_WIDE_INT_IS_LONG
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index 111d430..cc626c2 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -131,7 +131,7 @@ TkpOpenDisplay(
int reason = 0;
unsigned int use_xkb = 0;
/* Disabled, until we have a better test. See [Bug 3613668] */
-#if 0 && defined(XKEYCODETOKEYSYM_IS_DEPRECATED) && defined(TCL_THREADS)
+#if 0 && defined(XKEYCODETOKEYSYM_IS_DEPRECATED)
static int xinited = 0;
static Tcl_Mutex xinitMutex = NULL;