]> granicus.if.org Git - flex/commitdiff
Removed alloca() configuration.
authorMichael McConville <mmcconville@mykolab.com>
Wed, 9 Dec 2015 19:20:40 +0000 (14:20 -0500)
committerWill Estes <westes575@gmail.com>
Wed, 9 Dec 2015 20:54:02 +0000 (15:54 -0500)
Since alloca() is dangerous, depricated, we remove it.

src/flexdef.h

index 2992b004d5a40a73956ae5c0049bcbbb9ce18cc3..71eebc66a75c7b1c60c87090eab70bc03d4a03f1 100644 (file)
 #include <config.h>
 #endif
 
-/* AIX requires this to be the first thing in the file.  */
-#if !defined(__GNUC__) && !defined(__lint__)
-# if HAVE_ALLOCA_H
-#  include <alloca.h>
-# else
-#  ifdef _AIX
- #pragma alloca
-#  else
-#   ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
-#   endif
-#  endif
-# endif
-#endif
-
 #ifdef STDC_HEADERS
 #include <stdio.h>
 #include <stdlib.h>