summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-15 21:51:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-15 21:51:33 +0200
commit1e8d16fe10917664f9520008f224f19692c3a668 (patch)
treec966c22e3bb719754a01715778f0820aa0853dfa /compat
parentd8874ad6c42ec016fa931fe3e57fcd9797d06094 (diff)
a
Diffstat (limited to 'compat')
-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