Parcourir la source

Speculative build fix for using alloca on PS4 & FreeBSD

ocornut il y a 10 ans
Parent
commit
6b23fca1ff
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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