Merge pull request #563 from mneumann/fix_dragonfly

Fix compilation on DragonFly BSD
This commit is contained in:
omar 2016-03-26 16:40:00 +01:00
commit 39c9bb73e8

View File

@ -18,7 +18,7 @@
#include "imgui_internal.h" #include "imgui_internal.h"
#include <stdio.h> // vsnprintf, sscanf, printf #include <stdio.h> // vsnprintf, sscanf, printf
#if !defined(alloca) && !defined(__FreeBSD__) #if !defined(alloca) && !defined(__FreeBSD__) && !defined(__DragonFly__)
#ifdef _WIN32 #ifdef _WIN32
#include <malloc.h> // alloca #include <malloc.h> // alloca
#else #else