1
0
Эх сурвалжийг харах

Remove SDL_stdinc.h dependency on HAVE_ALLOCA

Assume alloca() is available on all modern systems
Sam Lantinga 3 жил өмнө
parent
commit
8733927e35
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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__)