summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-06-23 15:49:31 +0000
committerhallgren <hallgren@chalmers.se>2015-06-23 15:49:31 +0000
commitc6cdb66cf2c470233776fbbc5d0a099a969be469 (patch)
treeec43ff3bfebc7d2bc5a7bc7b67216a069d9754c9 /src/runtime
parent22ba8d34ff00bde6aa83dc9bdcdd13de34799c08 (diff)
runtime/c/pf/jit.c: silence warning about alloca on MINGW32
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/pgf/jit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/jit.c b/src/runtime/c/pgf/jit.c
index 393cf67d4..35ef3ca05 100644
--- a/src/runtime/c/pgf/jit.c
+++ b/src/runtime/c/pgf/jit.c
@@ -6,6 +6,9 @@
#include <pgf/evaluator.h>
#include <pgf/reader.h>
#include "lightning.h"
+#ifdef __MINGW32__
+#include <malloc.h>
+#endif
//#define PGF_JIT_DEBUG