diff options
author | Andy Wingo <wingo@pobox.com> | 2018-06-21 07:58:54 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-06-21 08:08:58 +0200 |
commit | 5e5afde06fd9dd0992294d6c7dc9f9966c0caa37 (patch) | |
tree | d66f8133876768b39f3c7fdfe7eab9378daa0629 /libguile/gen-scmconfig.h.in | |
parent | 1234bb18505f4177a129cf11a34d4c75316601fc (diff) | |
download | guile-5e5afde06fd9dd0992294d6c7dc9f9966c0caa37.tar.gz |
Start to use C99 stdint in gen-scmconfig
* configure.ac: Remove checks for stdint.h; we require C99 so it must be
there; and in any case for our purposes we use gnulib, so it will be
there. No need to check for inttypes.h. No need to check for what
type maps to e.g. uint32_t either.
* libguile/deprecated.h (SCM_HAVE_T_INT64, SCM_HAVE_T_UINT64): Deprecate
these, as they are always 1.
(SCM_HAVE_ARRAYS): Likewise deprecate; it's always 1.
* libguile/gen-scmconfig.c: Always include stdint.h and stddef.h, and
make it so that scmconfig.h also includes these. Use C99 types.
* libguile/gen-scmconfig.h.in: Remove configure-substed vars that are no
longer defined.
Diffstat (limited to 'libguile/gen-scmconfig.h.in')
-rw-r--r-- | libguile/gen-scmconfig.h.in | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libguile/gen-scmconfig.h.in b/libguile/gen-scmconfig.h.in index 7b6407d9a..6e5ebdb84 100644 --- a/libguile/gen-scmconfig.h.in +++ b/libguile/gen-scmconfig.h.in @@ -10,21 +10,6 @@ #define SCM_I_GSC_ENABLE_DEPRECATED @SCM_I_GSC_ENABLE_DEPRECATED@ #define SCM_I_GSC_STACK_GROWS_UP @SCM_I_GSC_STACK_GROWS_UP@ #define SCM_I_GSC_C_INLINE @SCM_I_GSC_C_INLINE@ -#define SCM_I_GSC_NEEDS_STDINT_H @SCM_I_GSC_NEEDS_STDINT_H@ -#define SCM_I_GSC_NEEDS_INTTYPES_H @SCM_I_GSC_NEEDS_INTTYPES_H@ -#define SCM_I_GSC_T_INT8 @SCM_I_GSC_T_INT8@ -#define SCM_I_GSC_T_UINT8 @SCM_I_GSC_T_UINT8@ -#define SCM_I_GSC_T_INT16 @SCM_I_GSC_T_INT16@ -#define SCM_I_GSC_T_UINT16 @SCM_I_GSC_T_UINT16@ -#define SCM_I_GSC_T_INT32 @SCM_I_GSC_T_INT32@ -#define SCM_I_GSC_T_UINT32 @SCM_I_GSC_T_UINT32@ -#define SCM_I_GSC_T_INT64 @SCM_I_GSC_T_INT64@ -#define SCM_I_GSC_T_UINT64 @SCM_I_GSC_T_UINT64@ -#define SCM_I_GSC_T_INTMAX @SCM_I_GSC_T_INTMAX@ -#define SCM_I_GSC_T_UINTMAX @SCM_I_GSC_T_UINTMAX@ -#define SCM_I_GSC_T_INTPTR @SCM_I_GSC_T_INTPTR@ -#define SCM_I_GSC_T_UINTPTR @SCM_I_GSC_T_UINTPTR@ -#define SCM_I_GSC_T_PTRDIFF @SCM_I_GSC_T_PTRDIFF@ #define SCM_I_GSC_USE_PTHREAD_THREADS @SCM_I_GSC_USE_PTHREAD_THREADS@ #define SCM_I_GSC_USE_NULL_THREADS @SCM_I_GSC_USE_NULL_THREADS@ #define SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT @SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT@ |