Build fix for MinGW (#276)

This commit is contained in:
ocornut 2015-07-17 13:38:55 -06:00
parent 99c5f5735c
commit eca26ae91d

View File

@ -468,7 +468,7 @@
#include <math.h> // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf #include <math.h> // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf
#include <stdio.h> // vsnprintf, sscanf, printf #include <stdio.h> // vsnprintf, sscanf, printf
#include <new> // new (ptr) #include <new> // new (ptr)
#if defined(_MSC_VER) #if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h> // alloca #include <malloc.h> // alloca
#else #else
#include <alloca.h> // alloca #include <alloca.h> // alloca