1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2013-09-22 19:20:02 +02:00
parent fd4b35f986
commit c24b162ef3

View file

@ -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__) || \