summaryrefslogtreecommitdiff
path: root/libguile/deprecated.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-21 07:58:54 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-21 08:08:58 +0200
commit5e5afde06fd9dd0992294d6c7dc9f9966c0caa37 (patch)
treed66f8133876768b39f3c7fdfe7eab9378daa0629 /libguile/deprecated.h
parent1234bb18505f4177a129cf11a34d4c75316601fc (diff)
downloadguile-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/deprecated.h')
-rw-r--r--libguile/deprecated.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libguile/deprecated.h b/libguile/deprecated.h
index 1dace993d..9552d0e2e 100644
--- a/libguile/deprecated.h
+++ b/libguile/deprecated.h
@@ -84,6 +84,11 @@
#define SCM_T_INTPTR_MIN INTPTR_MIN
#define SCM_T_INTPTR_MAX INTPTR_MAX
+#define SCM_HAVE_T_INT64 1 /* 0 or 1 */
+#define SCM_HAVE_T_UINT64 1 /* 0 or 1 */
+
+#define SCM_HAVE_ARRAYS 1 /* always true now */
+
void scm_i_init_deprecated (void);
#endif