bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile 1.6.5, building in Interix 3.5


From: Bob Frazier
Subject: guile 1.6.5, building in Interix 3.5
Date: Mon, 25 Oct 2004 16:35:10 -0700

building guile 1.6.5 (just downloaded it) in Interix 3.5 (latest code).

The file srfi/srfi-4.c (line 340) uses a define'd constant 'SIZE_MAX' which
is not defined in the Interix header files.  In the FreeBSD header files,
it's defined as UINT32_SIZE .  Based upon what it appears the code is trying
to do, I changed it from

  if (len > ((size_t) SIZE_MAX >> uvec_shifts[type]))

to this

  if (len > ((size_t) SSIZE_MAX >> uvec_shifts[type]))


The other alternative would be to change it to SIZE_T_MAX .

At this point it built properly.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]