summaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/jemalloc_internal_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/jemalloc_internal_types.h')
-rw-r--r--include/jemalloc/internal/jemalloc_internal_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_types.h b/include/jemalloc/internal/jemalloc_internal_types.h
index 62c2b59c..b23a8bed 100644
--- a/include/jemalloc/internal/jemalloc_internal_types.h
+++ b/include/jemalloc/internal/jemalloc_internal_types.h
@@ -110,7 +110,7 @@ typedef enum malloc_init_e malloc_init_t;
(((s) + (alignment - 1)) & ((~(alignment)) + 1))
/* Declare a variable-length array. */
-#if __STDC_VERSION__ < 199901L
+#if __STDC_VERSION__ < 199901L || defined(__STDC_NO_VLA__)
# ifdef _MSC_VER
# include <malloc.h>
# define alloca _alloca