diff options
author | Mike Gran <spk121@yahoo.com> | 2022-09-15 20:51:05 -0700 |
---|---|---|
committer | Mike Gran <spk121@yahoo.com> | 2022-10-14 08:40:23 -0700 |
commit | 9b357bace3850a9c6c03e8fb6b3b82f4e57da507 (patch) | |
tree | 155b0c51fdedaf0958180857b16f9c66b73c94d2 /libguile/numbers.h | |
parent | 128e0a3479980c0ac76716c425009206b774dfe3 (diff) | |
download | guile-9b357bace3850a9c6c03e8fb6b3b82f4e57da507.tar.gz |
Presume ISO C90 headers are always available
This includes <assert.h>, <ctype.h>, <errno.h>, <float.h>, <iso646.h>,
<limits.h>, <locale.h>, <math.h>, <setjmp.h>, <signal.h>, <stdarg.h>,
<stddef.h>, <stdio.h>, <stdlib.h>, <string.h>, <time.h>, <wchar.h>,
and <wctype.h>.
* configure.ac: don't check for <limits.h>, <string.h>, <time.h>, <assert.h>.
Remove AC_INCLUDES_DEFAULT macro
* libguile/bytevectors.c: include <limits.h>, remove HAVE_LIMITS_H
* libguile/filesys.c: include <string.h>, remove HAVE_STRING_H
* libguile/fports.c: include <string.h>, remove HAVE_STRING_H
* libguile/gen-scmconfig.c: remove HAVE_LIMITS_H, HAVE_TIME_H, STDC_HEADERS
Remove SCM_HAVE_STDC_HEADERS
* libguile/hash.c: include <wchar.h>, remove HAVE_WCHAR_H
* libguile/net_db.c: include <string.h>, remove HAVE_STRING_H
* libguile/numbers.h: remove SCM_HAVE_STDC_HEADERS
* libguile/regex-posix.c: include <wchar.h>, remove HAVE_WCHAR_H
(fixup_multibyte_match): always defined
(scm_regexp_exec): use fixup_multibyte_match
* libguile/scmsigs.c: remove STDC_HEADERS
* libguile/socket.c: include <string.h>, remove HAVE_STRING_H
* test-suite/standalone/test-unwind.c: include <string.h>, remove HAVE_STRING_H
Diffstat (limited to 'libguile/numbers.h')
-rw-r--r-- | libguile/numbers.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/libguile/numbers.h b/libguile/numbers.h index fdb446e1a..84ad5466f 100644 --- a/libguile/numbers.h +++ b/libguile/numbers.h @@ -112,15 +112,13 @@ typedef long scm_t_inum; * SCM_FLTMAX is less than or scm_equal the largest single precision float */ -#if SCM_HAVE_STDC_HEADERS -# ifndef GO32 -# include <float.h> -# ifdef __MINGW32__ -# define copysign _copysign -# define finite _finite -# endif /* __MINGW32__ */ -# endif /* ndef GO32 */ -#endif /* def STDC_HEADERS */ +#ifndef GO32 +# include <float.h> +# ifdef __MINGW32__ +# define copysign _copysign +# define finite _finite +# endif /* __MINGW32__ */ +#endif /* ndef GO32 */ #ifdef DBL_MAX_10_EXP # define SCM_MAXEXP DBL_MAX_10_EXP |