Explorar o código

Merge pull request #563 from mneumann/fix_dragonfly

Fix compilation on DragonFly BSD
omar %!s(int64=9) %!d(string=hai) anos
pai
achega
39c9bb73e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      imgui_draw.cpp

+ 1 - 1
imgui_draw.cpp

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