summaryrefslogtreecommitdiffhomepage
path: root/compat/alloca.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/alloca.hpp')
-rw-r--r--compat/alloca.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/alloca.hpp b/compat/alloca.hpp
new file mode 100644
index 00000000..1ce269e5
--- /dev/null
+++ b/compat/alloca.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+#ifdef _WIN32
+# include <malloc.h>
+#else
+# include <alloca.h>
+#endif