Explorar o código

Speculative build fix for using alloca on PS4 & FreeBSD

ocornut %!s(int64=10) %!d(string=hai) anos
pai
achega
6b23fca1ff
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 <stdio.h>      // vsnprintf, sscanf, printf
 #include <new>          // new (ptr)
-#ifndef alloca
+#if !defined(alloca) && !defined(__FreeBSD__)
 #if _WIN32
 #include <malloc.h>     // alloca
 #else