This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: _GLIBCPP_HAVE_S_ISREG always undefined for cross compilers(problem with ifstream::in_avail())
- From: Andreas Schwab <schwab at suse dot de>
- To: Gernot Hillier <gernot dot hillier at siemens dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sat, 03 Jan 2004 02:03:46 +0100
- Subject: Re: _GLIBCPP_HAVE_S_ISREG always undefined for cross compilers(problem with ifstream::in_avail())
- References: <200401021447.49877.gernot.hillier@siemens.com>
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."