mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add __sortix_libc__ feature macro.
This commit is contained in:
parent
fd4b35f986
commit
c24b162ef3
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
|||
#ifndef _FEATURES_H
|
||||
#define _FEATURES_H 1
|
||||
|
||||
#define __sortix_libc__ 1
|
||||
|
||||
/* Support macro to ease testing the compiler version. */
|
||||
#define __GCC_PREREQ(gcc_major, gcc_minor) \
|
||||
(((gcc_major) == __GNUC__ && (gcc_minor) >= __GNUC_MINOR__) || \
|
||||
|
|
Loading…
Add table
Reference in a new issue