]> granicus.if.org Git - onig/commitdiff
Remove HAVE_FLOAT_H
authorPeter Kokot <peterkokot@gmail.com>
Wed, 5 Sep 2018 02:25:01 +0000 (04:25 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Wed, 5 Sep 2018 02:25:01 +0000 (04:25 +0200)
The `<float.h>` header file is part of the standard C89 headers [1] and
on current systems there is no need to do a manual check if header is
present anymore [2].

Build systems used to check for the presence of the header file and defined
the `HAVE_FLOAT_H` symbol.

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.4
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

src/config.h.win32
src/config.h.win64
src/config.h.windows.in

index 244dcc3e5aef70723ff1e4fd9a8007b6109de67f..975ee6c347deef2a5079167309ab75ba40f4822e 100644 (file)
@@ -4,7 +4,6 @@
 #define HAVE_STDLIB_H 1\r
 #define HAVE_STRING_H 1\r
 #define HAVE_MEMORY_H 1\r
-#define HAVE_FLOAT_H 1\r
 #define HAVE_OFF_T 1\r
 #define SIZEOF_INT 4\r
 #define SIZEOF_SHORT 2\r
index 5e89aece8d84ca01853b59c64da8427740038bb6..ddadd30e9435b5fd3e7852ef16e56d292a846341 100644 (file)
@@ -4,7 +4,6 @@
 #define HAVE_STDLIB_H 1\r
 #define HAVE_STRING_H 1\r
 #define HAVE_MEMORY_H 1\r
-#define HAVE_FLOAT_H 1\r
 #define HAVE_OFF_T 1\r
 #define SIZEOF_INT 4\r
 #define SIZEOF_SHORT 2\r
index 31ccbdbcd67f40af821022aded6611761399831c..497f9a799be71f9a3dfe9da93a30f6e5e054bee3 100644 (file)
@@ -4,7 +4,6 @@
 #define HAVE_STDLIB_H 1\r
 #define HAVE_STRING_H 1\r
 #define HAVE_MEMORY_H 1\r
-#define HAVE_FLOAT_H 1\r
 #define HAVE_OFF_T 1\r
 #define SIZEOF_INT 4\r
 #define SIZEOF_SHORT 2\r