summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-21 08:12:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-21 08:12:51 (GMT)
commit708eadd19e5581da93b7d8e801ffe977e6e1376f (patch)
tree7ff5025629e29d9821020cadb95cd81142cb4af5
parent4523d8df2c410219ea470d653d5851701fbc2ed2 (diff)
downloadtcl-708eadd19e5581da93b7d8e801ffe977e6e1376f.zip
tcl-708eadd19e5581da93b7d8e801ffe977e6e1376f.tar.gz
tcl-708eadd19e5581da93b7d8e801ffe977e6e1376f.tar.bz2
Demonstrate how Tcl can build without TCL_THREADS defined at all (assuming TCL_THREADS=1 as default). Activated by -DTCL_NO_DEPRECATED=1. See also [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]
-rw-r--r--generic/tcl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index ff82bd6..7d6226b 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -89,11 +89,11 @@ extern "C" {
# define JOIN(a,b) JOIN1(a,b)
# define JOIN1(a,b) a##b
#endif
-#endif /* !TCL_NO_DEPRECATED */
#ifndef TCL_THREADS
# define TCL_THREADS 1
#endif
+#endif /* !TCL_NO_DEPRECATED */
/*
* A special definition used to allow this header file to be included from