Browse Source

Remove SDL_stdinc.h dependency on HAVE_ALLOCA

Assume alloca() is available on all modern systems
Sam Lantinga 2 năm trước cách đây
mục cha
commit
8733927e35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/SDL_stdinc.h

+ 1 - 1
include/SDL_stdinc.h

@@ -92,7 +92,7 @@
 #ifdef HAVE_FLOAT_H
 # include <float.h>
 #endif
-#if defined(HAVE_ALLOCA) && !defined(alloca)
+#if !defined(alloca)
 # if defined(HAVE_ALLOCA_H)
 #  include <alloca.h>
 # elif defined(__GNUC__)