This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

newlib's limits.h v. GCC's limits.h


I have an issue where GCC's limits.h [1] is being included instead of
newlib's limits.h. newlib's limits.h defines PATH_MAX, but GCC's
limits.h does not. So I'm seeing a 'PATH_MAX' undeclared compiler
error. Which header file should be included, and how should PATH_MAX
be declared?

Thanks,
Shaun

[1] /usr/local/lib/gcc/i386-linux-newlib/4.1.0/include/limits.h
[2] /usr/local/i386-linux-newlib/include/limits.h

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