From bfc85c70e7517dc633b74e33768247b4df6a661c Mon Sep 17 00:00:00 2001 From: Marouene Boubakri Date: Fri, 12 Mar 2021 12:00:01 +0100 Subject: include: headers: Replace __ASSEMBLY__ with __ASSEMBLER__ GCC has already a predefined macro __ASSEMBLER__ therefore, it can be used without the need to define a new flag with -D__ASSEMBLY__. This is useful when adding the library to projects having a build system such one can build without the need to make changes. THe build system does not use the Makefile in the sources tree. Signed-off-by: Marouene Boubakri Signed-off-by: Anup Patel --- include/sbi/sbi_scratch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sbi/sbi_scratch.h') diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h index e35122b..e83b234 100644 --- a/include/sbi/sbi_scratch.h +++ b/include/sbi/sbi_scratch.h @@ -43,7 +43,7 @@ /* clang-format on */ -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include -- cgit v1.2.3