Add __sortix_libc__ feature macro.
This commit is contained in:
parent
fd4b35f986
commit
c24b162ef3
|
@ -25,6 +25,8 @@
|
||||||
#ifndef _FEATURES_H
|
#ifndef _FEATURES_H
|
||||||
#define _FEATURES_H 1
|
#define _FEATURES_H 1
|
||||||
|
|
||||||
|
#define __sortix_libc__ 1
|
||||||
|
|
||||||
/* Support macro to ease testing the compiler version. */
|
/* Support macro to ease testing the compiler version. */
|
||||||
#define __GCC_PREREQ(gcc_major, gcc_minor) \
|
#define __GCC_PREREQ(gcc_major, gcc_minor) \
|
||||||
(((gcc_major) == __GNUC__ && (gcc_minor) >= __GNUC_MINOR__) || \
|
(((gcc_major) == __GNUC__ && (gcc_minor) >= __GNUC_MINOR__) || \
|
||||||
|
|
Loading…
Reference in New Issue