mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
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.
This commit is contained in:
parent
1234bb1850
commit
5e5afde06f
4 changed files with 37 additions and 385 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue