Commit 7c4f4331 authored by Peter Pentchev's avatar Peter Pentchev

Rename NEED_ALLOCA_H to HAVE_ALLOCA_H.

parent adffd19e
......@@ -3,7 +3,8 @@ 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 or do not provide the alloca() function
- fix the build on systems that do not need or have alloca.h
- fix the build on systems that do not need or have alloca.h and
rename the NEED_ALLOCA_H configuration setting to HAVE_ALLOCA_H
- fix an overzealous double const
- add a Makefile rule for the compilation of C files for
make(1) implementations that do not pass CPPFLAGS.
......
......@@ -8,6 +8,6 @@
#define HAVE_NCURSES 0
#define HAVE_USLEEP 0
#define HAVE_FLOAT_H 0
#define NEED_ALLOCA_H 0
#define HAVE_ALLOCA_H 0
#define HAVE_STRERROR 0
#define HAVE_VASPRINTF 0
......@@ -8,6 +8,6 @@
#define HAVE_NCURSES 0
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 1
#define NEED_ALLOCA_H 0
#define HAVE_ALLOCA_H 0
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 0
......@@ -8,6 +8,6 @@
#define HAVE_NCURSES 1
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 1
#define NEED_ALLOCA_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 1
......@@ -8,6 +8,6 @@
#define HAVE_NCURSES 1
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 1
#define NEED_ALLOCA_H 0
#define HAVE_ALLOCA_H 0
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 0
......@@ -8,6 +8,6 @@
#define HAVE_NCURSES 0
#define HAVE_USLEEP 1
#define HAVE_FLOAT_H 0
#define NEED_ALLOCA_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_STRERROR 1
#define HAVE_VASPRINTF 0
......@@ -52,7 +52,7 @@
#include <stdio.h>
#include <stdarg.h>
#if NEED_ALLOCA_H
#if HAVE_ALLOCA_H
#include <alloca.h>
#else
/**
......
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