about summary refs log tree commit diff
path: root/sysdeps/mips/memset.S
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2015-02-13 17:38:06 -0800
committerSteve Ellcey <sellcey@mips.com>2015-02-13 17:38:06 -0800
commite525154e84b6e9effadfbb5f162785e3aff24eb3 (patch)
tree3d62e74b142fbee7660804d0df9537f97aee1352 /sysdeps/mips/memset.S
parent4ab770b7b15c45621e6274c790351a3a4744dc42 (diff)
downloadglibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.tar.gz
glibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.tar.xz
glibc-e525154e84b6e9effadfbb5f162785e3aff24eb3.zip
2015-02-13 Steve Ellcey <sellcey@imgtec.com>
	* sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
	* sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
	* sysdeps/mips/memset.S (__MIPSEB): Ditto.
Diffstat (limited to 'sysdeps/mips/memset.S')
-rw-r--r--sysdeps/mips/memset.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mips/memset.S b/sysdeps/mips/memset.S
index 0a9b5cae46..940a2258db 100644
--- a/sysdeps/mips/memset.S
+++ b/sysdeps/mips/memset.S
@@ -170,14 +170,14 @@
 
 #ifdef USE_DOUBLE
 # define C_ST	sd
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define C_STHI	sdl	/* high part is left in big-endian	*/
 # else
 #  define C_STHI	sdr	/* high part is right in little-endian	*/
 # endif
 #else
 # define C_ST	sw
-# if __MIPSEB
+# ifdef __MIPSEB
 #  define C_STHI	swl	/* high part is left in big-endian	*/
 # else
 #  define C_STHI	swr	/* high part is right in little-endian	*/