This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
missing glibc #defines in getopt.h
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "newlib at sources dot redhat dot com" <newlib at sources dot redhat dot com>
- Date: Wed, 15 Oct 2008 13:40:28 -0500
- Subject: missing glibc #defines in getopt.h
Hi,
I am porting some code from Linux to RTEMS
and noticed that the following values for
"has_arg" are not included in the newlib
getopt.h.
# define no_argument 0
# define required_argument 1
# define optional_argument 2
It is easy enough to add them but do they need
to protected by an ifdef of any sort?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985