We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bc791 commit 3bf414aCopy full SHA for 3bf414a
random/random.h
@@ -9,7 +9,7 @@
9
10
#if defined(HEDLEY_ARRAY_PARAM)
11
# define PSNIP_RANDOM_ARRAY_PARAM(expr) HEDLEY_ARRAY_PARAM(expr)
12
-#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && !defined(__cplusplus) && !defined(__PGI)
+#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && (!defined(__STDC_NO_VLA__) || !__STDC_NO_VLA__) && !defined(__cplusplus) && !defined(__PGI)
13
# define PSNIP_RANDOM_ARRAY_PARAM(expr) (expr)
14
#else
15
# define PSNIP_RANDOM_ARRAY_PARAM(expr)
0 commit comments