2014-09-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/features.h: Add __NEWLIB__ and __NEWLIB_MINOR__ macros.
This commit is contained in:
parent
ad9ed96b6b
commit
99eb60455b
|
@ -1,3 +1,8 @@
|
|||
2014-09-17 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/include/sys/features.h: Add __NEWLIB__ and
|
||||
__NEWLIB_MINOR__ macros.
|
||||
|
||||
2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
|
||||
|
||||
|
|
|
@ -25,6 +25,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Macros to determine that newlib is being used. Put in this header to
|
||||
* be similar to where glibc stores its version of these macros.
|
||||
*/
|
||||
#define __NEWLIB__ 2
|
||||
#define __NEWLIB_MINOR__ 1
|
||||
|
||||
/* Macro to test version of GCC. Returns 0 for non-GCC or too old GCC. */
|
||||
#ifndef __GNUC_PREREQ
|
||||
# if defined __GNUC__ && defined __GNUC_MINOR__
|
||||
|
|
Loading…
Reference in New Issue