Merge pull request #296 from tpoechtrager/master

Fixes for compiling Windows target with non-MSVC compiler.
This commit is contained in:
omar
2015-08-09 10:49:06 -06:00
6 changed files with 19 additions and 11 deletions

View File

@@ -19,7 +19,7 @@
#include <stdio.h> // vsnprintf, sscanf, printf
#include <new> // new (ptr)
#ifndef alloca
#if defined(_MSC_VER) || defined(__MINGW32__)
#if _WIN32
#include <malloc.h> // alloca
#else
#include <alloca.h> // alloca