mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
Add back error if the size of off_t is unknown. The bug was actually
in guile-readline's configuration.
This commit is contained in:
parent
da53d2ff90
commit
2ac0f04603
1 changed files with 7 additions and 6 deletions
|
@ -159,12 +159,13 @@
|
|||
#define scm_to_off_t_or_off64_t CHOOSE_LARGEFILE(scm_to_off_t,scm_to_int64)
|
||||
|
||||
#if SIZEOF_OFF_T == 4
|
||||
#define scm_to_off_t scm_to_int32
|
||||
#define scm_from_off_t scm_from_int32
|
||||
#endif
|
||||
#if SIZEOF_OFF_T == 8
|
||||
#define scm_to_off_t scm_to_int64
|
||||
#define scm_from_off_t scm_from_int64
|
||||
# define scm_to_off_t scm_to_int32
|
||||
# define scm_from_off_t scm_from_int32
|
||||
#elif SIZEOF_OFF_T == 8
|
||||
# define scm_to_off_t scm_to_int64
|
||||
# define scm_from_off_t scm_from_int64
|
||||
#else
|
||||
# error sizeof(off_t) is not 4 or 8.
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue