CI / test (push) Successful in 38s
moon adds -DMOONBIT_NATIVE_NO_SYS_HEADER whenever the C compiler is tcc, which compiles the system runtime out and breaks linking a standalone exe; the scripts/tcc/tcc wrapper drops that flag. just tcc-build builds third_party/tinycc into _build/tcc; build-release keeps the optimised system-cc build. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
17 lines
354 B
C
17 lines
354 B
C
#ifndef _STDALIGN_H
|
|
#define _STDALIGN_H
|
|
|
|
#if __STDC_VERSION__ < 201112L && (defined(__GNUC__) || defined(__TINYC__))
|
|
# define _Alignas(t) __attribute__((__aligned__(t)))
|
|
# define _Alignof(t) __alignof__(t)
|
|
#endif
|
|
|
|
#define alignas _Alignas
|
|
#define alignof _Alignof
|
|
|
|
#define __alignas_is_defined 1
|
|
#define __alignof_is_defined 1
|
|
|
|
#endif /* _STDALIGN_H */
|
|
|