_GLIBCPP_HAVE_S_ISREG always undefined for cross compilers (problem with ifstream::in_avail())

Andreas Schwab schwab@suse.de
Sat Jan 3 01:03:00 GMT 2004


Gernot Hillier <gernot.hillier@siemens.com> writes:

> I saw that AC_DEFINE(HAVE_S_ISREG) and AC_DEFINE(HAVE_S_IFREG) was recently 
> (revision 1.14 of configure.ac) added when using newlib, but I use glibc on 
> the target. So is there a nice way to do these defines for glibc too?

See crossconfig.m4.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libstdc++ mailing list