summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-11-03 21:46:28 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-11-03 21:46:28 (GMT)
commit6a9db1dd4c7f1274d9d14bdb5900ec0a107a560b (patch)
tree164cb06b2e0a0eeb133aeecab95eb8ee3d3153bb /generic/tkInt.h
parent223e32b9ec73d1af56f46d750d010bb4d2056a37 (diff)
parente0a9d8d3100de26a961418e9ab3fc6087014e00b (diff)
downloadtk-6a9db1dd4c7f1274d9d14bdb5900ec0a107a560b.zip
tk-6a9db1dd4c7f1274d9d14bdb5900ec0a107a560b.tar.gz
tk-6a9db1dd4c7f1274d9d14bdb5900ec0a107a560b.tar.bz2
merge 8.6
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 72fd9b4..35b7e67 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -86,7 +86,9 @@
# endif
#endif
-#if defined(__GNUC__) && (__GNUC__ > 2)
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
+# define TKFLEXARRAY
+#elif defined(__GNUC__) && (__GNUC__ > 2)
# define TKFLEXARRAY 0
#else
# define TKFLEXARRAY 1