mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Inline definition of SIZEOF_SCM_T_BITS
* libguile/_scm.h (SIZEOF_SCM_T_BITS): Remove definition. * libguile/conv-integer.i.c (SCM_TO_TYPE_PROTO, SCM_FROM_TYPE_PROTO): * libguile/conv-uinteger.i.c (SCM_FROM_TYPE_PROTO): * libguile/gc.c (DEFAULT_INITIAL_HEAP_SIZE): * libguile/hashtab.c: * libguile/loader.c: * libguile/socket.c: * libguile/vm-engine.c (VM_NAME): Use SIZEOF_UINTPTR_T instead of SIZEOF_SCM_T_BITS.
This commit is contained in:
parent
ea3c5cf909
commit
7b4ab0895b
8 changed files with 10 additions and 13 deletions
|
@ -48,14 +48,14 @@
|
|||
/* This file contains the loader for Guile's on-disk format: ELF with
|
||||
some custom tags in the dynamic segment. */
|
||||
|
||||
#if SIZEOF_SCM_T_BITS == 4
|
||||
#if SIZEOF_UINTPTR_T == 4
|
||||
#define Elf_Half Elf32_Half
|
||||
#define Elf_Word Elf32_Word
|
||||
#define Elf_Ehdr Elf32_Ehdr
|
||||
#define ELFCLASS ELFCLASS32
|
||||
#define Elf_Phdr Elf32_Phdr
|
||||
#define Elf_Dyn Elf32_Dyn
|
||||
#elif SIZEOF_SCM_T_BITS == 8
|
||||
#elif SIZEOF_UINTPTR_T == 8
|
||||
#define Elf_Half Elf64_Half
|
||||
#define Elf_Word Elf64_Word
|
||||
#define Elf_Ehdr Elf64_Ehdr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue