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