summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/mips/bits/endian.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 00a21e565f..606d80f82b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
+
+	* sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
+
 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* sysdeps/unix/sysv/linux/s390/pt-longjmp.c
diff --git a/sysdeps/mips/bits/endian.h b/sysdeps/mips/bits/endian.h
index 43ce0098a4..92e97c708f 100644
--- a/sysdeps/mips/bits/endian.h
+++ b/sysdeps/mips/bits/endian.h
@@ -8,6 +8,6 @@
 #ifdef __MIPSEB
 # define __BYTE_ORDER __BIG_ENDIAN
 #endif
-#if __MIPSEL
+#ifdef __MIPSEL
 # define __BYTE_ORDER __LITTLE_ENDIAN
 #endif