Explorar o código

Speculative build fix for old versions of Visual Studio compiler

ocornut %!s(int64=9) %!d(string=hai) anos
pai
achega
f505a372fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      imgui_draw.cpp

+ 1 - 1
imgui_draw.cpp

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