summaryrefslogtreecommitdiffhomepage
path: root/arch/nt32/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt32/atomic.h')
-rw-r--r--arch/nt32/atomic.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/nt32/atomic.h b/arch/nt32/atomic.h
index 16fe1a2..c7eb85c 100644
--- a/arch/nt32/atomic.h
+++ b/arch/nt32/atomic.h
@@ -1,7 +1,10 @@
#ifndef _INTERNAL_ATOMIC_NT64_H
#define _INTERNAL_ATOMIC_NT64_H
+#ifdef __LIBC_LEGACY_SOURCE_TREE
#include "i386/atomic.h"
-
+#else
+#include "../internal/atomic.h"
#endif
+#endif