diff options
author | Ramsay Jones <ramsay@ramsayjones.plus.com> | 2019-11-12 02:33:40 +0000 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-11-12 21:42:46 +0100 |
commit | cb75739a5e07b0f435b9e2685033e1ba9ebc31cf (patch) | |
tree | b3908158567c40eabff2aa9317387baa0781a49e | |
parent | 781bc5d9369bd0dd5740a92fd1d62f08396b54a4 (diff) | |
download | sparse-cb75739a5e07b0f435b9e2685033e1ba9ebc31cf.tar.gz |
lib.c: fix spelling of _BIG_ENDIAN
Commit 3c3881cf1c ("cgcc: let sparse define _BIG_ENDIAN", 2019-11-08)
moved the definition of the _BIG_ENDIAN macro from cgcc to sparse (for
the powerpc platforms). Unfortunately, the macro was inadvertently spelt
incorrectly (as _BIG_DEBIAN). Correct the spelling.
Fixes: 3c3881cf1c68f1b4ec4e5a68fa0aa92e88eb275c
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1515,7 +1515,7 @@ static void predefined_macros(void) predefine("__ppc__", 1, "1"); predefine("__PPC__", 1, "1"); if (arch_big_endian) - predefine("_BIG_DEBIAN", 1, "1"); + predefine("_BIG_ENDIAN", 1, "1"); break; case MACH_RISCV64: case MACH_RISCV32: |