Question on sys/reent.h
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Sun Mar 17 23:22:00 GMT 2013
The following section of <sys/reent.h> caused a conflicting typedef
error when building libjava:
#ifndef __Long
#if __LONG_MAX__ == 2147483647L
#define __Long long
typedef unsigned __Long __ULong;
#elif __INT_MAX__ == 2147483647
#define __Long int
typedef unsigned __Long __ULong;
#endif
#endif
These types appear to be used in newlib's dtoa.c and mprec.c (it is a
copy of the latter in libjava which triggers this error). Is this
correct or it is another ssize_t?
Yaakov
More information about the Cygwin-developers
mailing list