Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asmjit/asmjit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/asmjit_test_x86_sections.cpp')
-rw-r--r--test/asmjit_test_x86_sections.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asmjit_test_x86_sections.cpp b/test/asmjit_test_x86_sections.cpp
index 85d2dda..582811e 100644
--- a/test/asmjit_test_x86_sections.cpp
+++ b/test/asmjit_test_x86_sections.cpp
@@ -35,7 +35,7 @@
// ----------------------------------------------------------------------------
#include <asmjit/core.h>
-#if defined(ASMJIT_BUILD_X86) && ASMJIT_ARCH_X86
+#if !defined(ASMJIT_NO_X86) && ASMJIT_ARCH_X86
#include <asmjit/x86.h>
#include <stdio.h>
@@ -182,4 +182,4 @@ int main() {
printf("AsmJit X86 Sections Test is disabled on non-x86 host\n\n");
return 0;
}
-#endif
+#endif // !ASMJIT_NO_X86 && ASMJIT_ARCH_X86