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
1 changed files with 2 additions and 0 deletions

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