Mercurial > octave-nkf
changeset 6058:cb4324a4fbb5
[project @ 2006-10-18 02:16:07 by jwe]
author | jwe |
---|---|
date | Wed, 18 Oct 2006 02:16:07 +0000 |
parents | 0cc5f8afba3f |
children | 8fd77759707c |
files | liboctave/ChangeLog liboctave/oct-types.h.in |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog Wed Oct 18 02:05:22 2006 +0000 +++ b/liboctave/ChangeLog Wed Oct 18 02:16:07 2006 +0000 @@ -1,5 +1,7 @@ 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> + * oct-types.h.in: Include limits.h, for CHAR_BIT. + * Makefile.in: Adapt rules to use $(LIBPRE). 2006-10-03 David Bateman <dbateman@free.fr>
--- a/liboctave/oct-types.h.in Wed Oct 18 02:05:22 2006 +0000 +++ b/liboctave/oct-types.h.in Wed Oct 18 02:16:07 2006 +0000 @@ -32,6 +32,10 @@ #include <inttypes.h> #else +#if defined (HAVE_LIMITS_H) +#include <limits.h> +#endif + #if CHAR_BIT == 8 typedef signed char int8_t; typedef unsigned char uint8_t;