Generate Derived Sources

This commit is contained in:
Thomas A 2023-04-21 11:43:31 -07:00
parent cdc6110886
commit 4dbc8ebbbf
6 changed files with 143 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#ifndef _LIBC_FEATURES_H_
#define _LIBC_FEATURES_H_
#if !defined(__arm__)
#error Mismatched libc-features.h architecture
#endif
#define UNIFDEF_LEGACY_RUNE_APIS 1
#define LEGACY_CRT1_ENVIRON 1
#define UNIFDEF_LEGACY_UTMP_APIS 1
#if !__DARWIN_ONLY_VERS_1050
# error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 0
#endif /* !__DARWIN_ONLY_VERS_1050 */
#if !__DARWIN_ONLY_UNIX_CONFORMANCE
# error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 0
#endif /* !__DARWIN_ONLY_UNIX_CONFORMANCE */
#if !__DARWIN_ONLY_64_BIT_INO_T
# error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 0
#endif /* !__DARWIN_ONLY_64_BIT_INO_T */
#define __APPLE_PR3417676_HACK__ 1
#define PLOCKSTAT 1
#define NOTIFY_TZ 1
/* #undef FEATURE_SMALL_STDIOBUF */
#define XPRINTF_PERF 1
/* #undef FEATURE_SIGNAL_RESTRICTION */
#endif // _LIBC_FEATURES_H_

View File

@ -0,0 +1,26 @@
#ifndef _LIBC_FEATURES_H_
#define _LIBC_FEATURES_H_
#if !defined(__arm64__)
#error Mismatched libc-features.h architecture
#endif
#define UNIFDEF_LEGACY_RUNE_APIS 1
#define LEGACY_CRT1_ENVIRON 1
#define UNIFDEF_LEGACY_UTMP_APIS 1
#if !__DARWIN_ONLY_VERS_1050
# error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 0
#endif /* !__DARWIN_ONLY_VERS_1050 */
#if !__DARWIN_ONLY_UNIX_CONFORMANCE
# error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 0
#endif /* !__DARWIN_ONLY_UNIX_CONFORMANCE */
#if !__DARWIN_ONLY_64_BIT_INO_T
# error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 0
#endif /* !__DARWIN_ONLY_64_BIT_INO_T */
#define __APPLE_PR3417676_HACK__ 1
#define PLOCKSTAT 1
#define NOTIFY_TZ 1
/* #undef FEATURE_SMALL_STDIOBUF */
#define XPRINTF_PERF 1
/* #undef FEATURE_SIGNAL_RESTRICTION */
#endif // _LIBC_FEATURES_H_

View File

@ -0,0 +1,26 @@
#ifndef _LIBC_FEATURES_H_
#define _LIBC_FEATURES_H_
#if !defined(__i386__)
#error Mismatched libc-features.h architecture
#endif
#define UNIFDEF_LEGACY_RUNE_APIS 1
#define LEGACY_CRT1_ENVIRON 1
#define UNIFDEF_LEGACY_UTMP_APIS 1
#if __DARWIN_ONLY_VERS_1050
# error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 1
#endif /* __DARWIN_ONLY_VERS_1050 */
#if __DARWIN_ONLY_UNIX_CONFORMANCE
# error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 1
#endif /* __DARWIN_ONLY_UNIX_CONFORMANCE */
#if __DARWIN_ONLY_64_BIT_INO_T
# error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 1
#endif /* __DARWIN_ONLY_64_BIT_INO_T */
#define __APPLE_PR3417676_HACK__ 1
#define PLOCKSTAT 1
#define NOTIFY_TZ 1
/* #undef FEATURE_SMALL_STDIOBUF */
#define XPRINTF_PERF 1
/* #undef FEATURE_SIGNAL_RESTRICTION */
#endif // _LIBC_FEATURES_H_

View File

@ -0,0 +1,13 @@
#if defined(__i386__)
#include "i386/libc-features.h"
#elif defined(__x86_64__)
#include "x86_64/libc-features.h"
#elif defined(__ppc__)
#include "ppc/libc-features.h"
#elif defined(__arm64__)
#include "arm64/libc-features.h"
#elif defined(__arm__)
#include "arm/libc-features.h"
#else
#error "Unsupported architecture!"
#endif

View File

@ -0,0 +1,26 @@
#ifndef _LIBC_FEATURES_H_
#define _LIBC_FEATURES_H_
#if !defined(__ppc__)
#error Mismatched libc-features.h architecture
#endif
#define UNIFDEF_LEGACY_RUNE_APIS 1
#define LEGACY_CRT1_ENVIRON 1
#define UNIFDEF_LEGACY_UTMP_APIS 1
#if !__DARWIN_ONLY_VERS_1050
# error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 0
#endif /* !__DARWIN_ONLY_VERS_1050 */
#if !__DARWIN_ONLY_UNIX_CONFORMANCE
# error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 0
#endif /* !__DARWIN_ONLY_UNIX_CONFORMANCE */
#if !__DARWIN_ONLY_64_BIT_INO_T
# error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 0
#endif /* !__DARWIN_ONLY_64_BIT_INO_T */
#define __APPLE_PR3417676_HACK__ 1
#define PLOCKSTAT 1
#define NOTIFY_TZ 1
/* #undef FEATURE_SMALL_STDIOBUF */
#define XPRINTF_PERF 1
/* #undef FEATURE_SIGNAL_RESTRICTION */
#endif // _LIBC_FEATURES_H_

View File

@ -0,0 +1,26 @@
#ifndef _LIBC_FEATURES_H_
#define _LIBC_FEATURES_H_
#if !defined(__x86_64__)
#error Mismatched libc-features.h architecture
#endif
#define UNIFDEF_LEGACY_RUNE_APIS 1
#define LEGACY_CRT1_ENVIRON 1
#define UNIFDEF_LEGACY_UTMP_APIS 1
#if __DARWIN_ONLY_VERS_1050
# error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 1
#endif /* __DARWIN_ONLY_VERS_1050 */
#if !__DARWIN_ONLY_UNIX_CONFORMANCE
# error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 0
#endif /* !__DARWIN_ONLY_UNIX_CONFORMANCE */
#if __DARWIN_ONLY_64_BIT_INO_T
# error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 1
#endif /* __DARWIN_ONLY_64_BIT_INO_T */
#define __APPLE_PR3417676_HACK__ 1
#define PLOCKSTAT 1
#define NOTIFY_TZ 1
/* #undef FEATURE_SMALL_STDIOBUF */
#define XPRINTF_PERF 1
/* #undef FEATURE_SIGNAL_RESTRICTION */
#endif // _LIBC_FEATURES_H_