diff options
Diffstat (limited to 'libc/src/__support/OSUtil/quick_exit.h')
-rw-r--r-- | libc/src/__support/OSUtil/quick_exit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/src/__support/OSUtil/quick_exit.h b/libc/src/__support/OSUtil/quick_exit.h index 4329df8..6c59c1a 100644 --- a/libc/src/__support/OSUtil/quick_exit.h +++ b/libc/src/__support/OSUtil/quick_exit.h @@ -17,6 +17,9 @@ #include "darwin/quick_exit.h" #elif defined(__linux__) #include "linux/quick_exit.h" +#elif defined(__ELF__) +// TODO: Ideally we would have LIBC_TARGET_OS_IS_BAREMETAL. +#include "baremetal/quick_exit.h" #endif #endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_QUICK_EXIT_H |