Luna/libc/include/bits/platform.h
apio d00ca0d3ed
All checks were successful
continuous-integration/drone/push Build is passing
libc: Add setjmp.h
Partially taken from pre-rewrite Luna, converted setjmp.asm to GNU assembly.
2023-03-28 19:40:48 +02:00

14 lines
217 B
C

/* bits/platform.h: Platform defines. */
#ifndef _BITS_PLATFORM_H
#define _BITS_PLATFORM_H
#if defined(__x86_64__)
#define __libc_arch_x86_64
#define __libc_arch_x86
#else
#define __libc_arch_unknown
#endif
#endif