This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]