summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-05 12:18:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-07-05 12:18:17 (GMT)
commit1858f01eaee1d9b9f2973163f2469212b6262d36 (patch)
tree8794d9a8dc546fbb7283b4717297638653552929 /generic/tclInt.h
parent73390782ea84a72d621c6ebbaf2b18ae9308b93b (diff)
parent1469d7388d67343a410fc0157dedeaa7deb27ddd (diff)
downloadtcl-1858f01eaee1d9b9f2973163f2469212b6262d36.zip
tcl-1858f01eaee1d9b9f2973163f2469212b6262d36.tar.gz
tcl-1858f01eaee1d9b9f2973163f2469212b6262d36.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index ee3dbf8..20c4c45 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -913,7 +913,9 @@ typedef struct VarInHash {
*----------------------------------------------------------------
*/
-#if defined(__GNUC__) && (__GNUC__ > 2)
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
+# define TCLFLEXARRAY
+#elif defined(__GNUC__) && (__GNUC__ > 2)
# define TCLFLEXARRAY 0
#else
# define TCLFLEXARRAY 1