1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

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
commit 9a97ef673e
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