mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 01:55:08 +00:00
[libc] customizable namespace 2/4 (#65471)
This implements the second step of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 Namely "Add a guard in `src/__support/common.h`"
This commit is contained in:
parent
84e2fd7ee4
commit
9c4e005678
@ -9,6 +9,10 @@
|
||||
#ifndef LLVM_LIBC_SUPPORT_COMMON_H
|
||||
#define LLVM_LIBC_SUPPORT_COMMON_H
|
||||
|
||||
#ifndef LIBC_NAMESPACE
|
||||
#error "LIBC_NAMESPACE macro is not defined."
|
||||
#endif
|
||||
|
||||
#include "src/__support/macros/attributes.h"
|
||||
#include "src/__support/macros/properties/architectures.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user