From: Erwin Janssen Date: Sun, 8 Jan 2017 23:27:02 +0000 (+0100) Subject: Remove definition and usage of _hdr_math in sfio X-Git-Tag: 2.42.0~213^2~2^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4333ec9438e5f39187b290a84d2e9916a9290fb4;p=graphviz Remove definition and usage of _hdr_math in sfio The header is not required to build lib/sfio, so the check and the usage can be removed. --- diff --git a/lib/sfio/features/sfio b/lib/sfio/features/sfio index 6da3abac5..16e8c7756 100644 --- a/lib/sfio/features/sfio +++ b/lib/sfio/features/sfio @@ -6,7 +6,6 @@ # Converted to sfio v10/01/94 by Giampiero Sierra (06/08/95). ################################################################## -hdr math lib qfrexp lib qldexp diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 9558c0325..6e17975c6 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -58,7 +58,6 @@ extern "C" { #undef _hdr_vfork #undef _sys_vfork #undef _lib_vfork -#undef _hdr_math #undef _sys_mman #undef _sys_ioctl #endif @@ -176,10 +175,6 @@ extern "C" { #define remove unlink #endif -#if _hdr_math -#include -#endif - #if !defined(_ast_fltmax_double) #if defined(_lib_qfrexp) && _lib_qldexp diff --git a/windows/include/FEATURE/sfio b/windows/include/FEATURE/sfio index dd5c10b34..92e133454 100644 --- a/windows/include/FEATURE/sfio +++ b/windows/include/FEATURE/sfio @@ -2,7 +2,6 @@ #ifndef _def_time_Sfio_f #define _def_time_Sfio_f 1 #define _sys_types 1 /* #include ok */ -#define _hdr_math 1 /* #include ok */ //#define _hdr_unistd 1 /* #include ok */ #define _lib_ftruncate 0 /* ftruncate() in default lib(s) */ #define _lib_lseek64 1 /* lseek64() in default lib(s) */