mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-25 22:26:06 +00:00
Merge pull request #296 from tpoechtrager/master
Fixes for compiling Windows target with non-MSVC compiler.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user