mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-06 23:50:18 +02:00
SCM_IS_BIG_ENDIAN in scmconfig.h
* libguile/gen-scmconfig.c (main): Define SCM_IS_BIG_ENDIAN here.
This commit is contained in:
parent
931b4a6ddc
commit
c037832c65
1 changed files with 8 additions and 0 deletions
|
@ -283,6 +283,14 @@ main (int argc, char *argv[])
|
||||||
pf ("/* Size of uintptr_t or 0 if not available */\n");
|
pf ("/* Size of uintptr_t or 0 if not available */\n");
|
||||||
pf ("#define SCM_SIZEOF_UINTPTR_T %d\n", SIZEOF_UINTPTR_T);
|
pf ("#define SCM_SIZEOF_UINTPTR_T %d\n", SIZEOF_UINTPTR_T);
|
||||||
|
|
||||||
|
pf ("\n");
|
||||||
|
pf ("/* Byte order */\n");
|
||||||
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
pf ("#define SCM_IS_BIG_ENDIAN 1\n");
|
||||||
|
#else
|
||||||
|
pf ("#define SCM_IS_BIG_ENDIAN 0\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
pf ("\n");
|
pf ("\n");
|
||||||
pf ("/* same as POSIX \"struct timespec\" -- always defined */\n");
|
pf ("/* same as POSIX \"struct timespec\" -- always defined */\n");
|
||||||
#ifdef HAVE_STRUCT_TIMESPEC
|
#ifdef HAVE_STRUCT_TIMESPEC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue