mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
(scm_to_off_t, scm_from_off_t): No error if unknown off_t
size, to help the guile-readline build where off_t is unused.
This commit is contained in:
parent
4800a61a6c
commit
b4716c8d4f
1 changed files with 1 additions and 4 deletions
|
@ -160,13 +160,10 @@
|
||||||
#if SIZEOF_OFF_T == 4
|
#if SIZEOF_OFF_T == 4
|
||||||
#define scm_to_off_t scm_to_int32
|
#define scm_to_off_t scm_to_int32
|
||||||
#define scm_from_off_t scm_from_int32
|
#define scm_from_off_t scm_from_int32
|
||||||
#else
|
#endif
|
||||||
#if SIZEOF_OFF_T == 8
|
#if SIZEOF_OFF_T == 8
|
||||||
#define scm_to_off_t scm_to_int64
|
#define scm_to_off_t scm_to_int64
|
||||||
#define scm_from_off_t scm_from_int64
|
#define scm_from_off_t scm_from_int64
|
||||||
#else
|
|
||||||
#error sizeof(off_t) is not 4 or 8.
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue