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:
commit
9a97ef673e
6 changed files with 19 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue