Commit 46291e8f authored by Peter Pentchev's avatar Peter Pentchev

Require alloca() support from the compiler.

parent fe22f053
......@@ -2,7 +2,7 @@ Change log for hexer, the multi-view binary editor
1.0.0 not yet
- drop support for ancient compilers that do not support
the "const" keyword
the "const" keyword or do not provide the alloca() function
0.2.3 2015/12/10
- build with large file support on Linux
......
......@@ -8,7 +8,6 @@
#define HAVE_NCURSES 0
#define HAVE_USLEEP 0
#define HAVE_FLOAT_H 0
#define HAVE_ALLOCA 0
#define NEED_ALLOCA_H 0
#define HAVE_STRERROR 0
#define HAVE_VASPRINTF 0
......@@ -8,7 +8,6 @@
#define HAVE_NCURSES 0
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 1
#define HAVE_ALLOCA 0
#define NEED_ALLOCA_H 0
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 0
......@@ -8,7 +8,6 @@
#define HAVE_NCURSES 1
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 1
#define HAVE_ALLOCA 1
#define NEED_ALLOCA_H 1
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 1
......@@ -8,7 +8,6 @@
#define HAVE_NCURSES 1
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 1
#define HAVE_ALLOCA 0
#define NEED_ALLOCA_H 0
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 0
......@@ -8,7 +8,6 @@
#define HAVE_NCURSES 0
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 0
#define HAVE_ALLOCA 1
#define NEED_ALLOCA_H 1
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 0
......@@ -51,13 +51,9 @@
#include <stdio.h>
#include <stdarg.h>
#if HAVE_ALLOCA
#if NEED_ALLOCA_H
#include <alloca.h>
#endif
#else
char *alloca(size_t);
#endif
#define TIO_MAP 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment