From 6660397589657e95cfa67cf045814795fd4a043a Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Fri, 17 Jul 2009 12:50:07 +0200 Subject: [PATCH] Fix typos in AVR32 and SH local-elf.h endian definitions --- src/local-elf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/local-elf.h b/src/local-elf.h index e23e5a2..249e6ef 100644 --- a/src/local-elf.h +++ b/src/local-elf.h @@ -66,7 +66,7 @@ #endif #define ELF_TARG_MACH EM_AVR32 #define ELF_TARG_CLASS ELFCLASS32 -#if define(__LITTLE_ENDIAN__) +#if defined(__LITTLE_ENDIAN__) #define ELF_TARG_DATA ELFDATA2LSB #elif defined(__BIG_ENDIAN__) #define ELF_TARG_DATA ELFDATA2LMSB @@ -147,7 +147,7 @@ #define ELF_TARG_MACH EM_SH #define ELF_TARG_CLASS ELFCLASS32 -#if define(__LITTLE_ENDIAN__) +#if defined(__LITTLE_ENDIAN__) #define ELF_TARG_DATA ELFDATA2LSB #elif defined(__BIG_ENDIAN__) #define ELF_TARG_DATA ELFDATA2LMSB