diff options
| author | Marouene Boubakri <[email protected]> | 2021-03-12 12:00:01 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-03-22 16:02:48 +0530 |
| commit | bfc85c70e7517dc633b74e33768247b4df6a661c (patch) | |
| tree | 8495986c0ebfc19121a10e3b1af57c4ea77c7175 /lib/utils | |
| parent | ddad02d62550ca8884a2bd21345dad8c6c216777 (diff) | |
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 <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
| -rw-r--r-- | lib/utils/libfdt/fdt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/libfdt/fdt.h b/lib/utils/libfdt/fdt.h index f2e68807..57fe5663 100644 --- a/lib/utils/libfdt/fdt.h +++ b/lib/utils/libfdt/fdt.h @@ -7,7 +7,7 @@ * Copyright 2012 Kim Phillips, Freescale Semiconductor. */ -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ struct fdt_header { fdt32_t magic; /* magic word FDT_MAGIC */ |
