Commit 3fe43da73708f0597f4c34263fa697fe82d95e9e

Authored by bellard
1 parent a4d8670f

win32: suppress alloca() warning


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3966 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 0 deletions
tcg/tcg.c
@@ -34,6 +34,9 @@ @@ -34,6 +34,9 @@
34 #include <stdio.h> 34 #include <stdio.h>
35 #include <string.h> 35 #include <string.h>
36 #include <inttypes.h> 36 #include <inttypes.h>
  37 +#ifdef _WIN32
  38 +#include <malloc.h>
  39 +#endif
37 40
38 #include "config.h" 41 #include "config.h"
39 #include "osdep.h" 42 #include "osdep.h"