diff options
Diffstat (limited to 'arch/nt64')
-rw-r--r-- | arch/nt64/atomic.h | 5 | ||||
-rw-r--r-- | arch/nt64/atomic_arch.h | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/nt64/atomic.h b/arch/nt64/atomic.h index 9f18e3c..a9a6893 100644 --- a/arch/nt64/atomic.h +++ b/arch/nt64/atomic.h @@ -1,7 +1,10 @@ #ifndef _INTERNAL_ATOMIC_NT64_H #define _INTERNAL_ATOMIC_NT64_H +#ifdef __LIBC_LEGACY_SOURCE_TREE #include "x86_64/atomic.h" - +#else +#include "../internal/atomic.h" #endif +#endif diff --git a/arch/nt64/atomic_arch.h b/arch/nt64/atomic_arch.h new file mode 100644 index 0000000..097a90c --- /dev/null +++ b/arch/nt64/atomic_arch.h @@ -0,0 +1,7 @@ +#ifndef _INTERNAL_ATOMIC_ARCH_NT64_H +#define _INTERNAL_ATOMIC_ARCH_NT64_H + +#include "x86_64/atomic_arch.h" + +#endif + |