Browse Source

Remove SDL_stdinc.h dependency on HAVE_ALLOCA

Assume alloca() is available on all modern systems
Sam Lantinga 2 years ago
parent
commit
8733927e35
1 changed files with 1 additions and 1 deletions
  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__)