| 1 | #ifndef _NN_FEATURES_H
|
| 2 | #define _NN_FEATURES_H
|
| 3 | /* libc++ (and or libc++abi) checks for GLIBC
|
| 4 | *
|
| 5 | * for now pretend MUSL is GLIBC 2.17
|
| 6 | * Perhaps someday MUSL will have version information
|
| 7 | * and libc++ will check for it
|
| 8 | *
|
| 9 | * rename original MUSL header to features_musl.h
|
| 10 | * and include it here
|
| 11 | */
|
| 12 | #include <features_musl.h>
|
| 13 | #ifndef __GLIBC_PREREQ
|
| 14 | #define __MUSL_GLIBC__ 2
|
| 15 | #define __MUSL_GLIBC_MINOR__ 17
|
| 16 | #define __GLIBC_PREREQ(maj, min) ((__MUSL_GLIBC__ << 16) + __MUSL_GLIBC_MINOR__ >= ((maj) << 16) + (min))
|
| 17 | #endif
|
| 18 | #define __MUSL__ 0x10110
|
| 19 | #define __NNMUSL__ 1
|
| 20 | #endif
|
| 21 |
|
| 22 |
|
| 23 | |