summaryrefslogtreecommitdiffhomepage
path: root/compat/alloca.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/alloca.hpp')
-rw-r--r--compat/alloca.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/alloca.hpp b/compat/alloca.hpp
index 1ce269e5..97969a55 100644
--- a/compat/alloca.hpp
+++ b/compat/alloca.hpp
@@ -2,6 +2,7 @@
#ifdef _WIN32
# include <malloc.h>
+# define alloca _alloca
#else
# include <alloca.h>
#endif