Build fix for Orbis / PS4

This commit is contained in:
ocornut 2015-08-07 21:52:57 -06:00
parent 27961401c6
commit 20cc65788d

View File

@ -18,11 +18,13 @@
#include <stdio.h> // vsnprintf, sscanf, printf #include <stdio.h> // vsnprintf, sscanf, printf
#include <new> // new (ptr) #include <new> // new (ptr)
#ifndef alloca
#if defined(_MSC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)
#include <malloc.h> // alloca #include <malloc.h> // alloca
#else #else
#include <alloca.h> // alloca #include <alloca.h> // alloca
#endif #endif
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff) #pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff)