This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.93
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: glibc 2.1.93
- From: Andreas Jaeger <aj at suse dot de>
- Date: 14 Sep 2000 09:29:59 +0200
- Cc: <libc-alpha at sourceware dot cygnus dot com>
- References: <200009140714.JAA01870@loewis.home.cs.tu-berlin.de>
>>>>> Martin v Loewis writes:
> There seems to be a problem with limits.h in glibc 2.1.93. Compiling
> #include <limits.h>
> LONG_BIT
> with -D_GNU_SOURCE on i586-pc-linux-gnu gives the output file attached
> below (which was also compiled with -dD). Essentially, LONG_BIT is
> defined as 64.
> Any help appreciated,
> Martin
The problems seems to be that <bits/xopen_lim.h> has:
/* Number of bits in a word of type `int'. */
#if INT_MAX == 32767
# define WORD_BIT 16
#else
# if INT_MAX == 2147483647
# define WORD_BIT 32
# else
/* Safe assumption. */
# define WORD_BIT 64
# endif
#endif
but INT_MAX is not defined yet :-(.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj