diff options
Diffstat (limited to 'libc/string/sh64/memset.S')
-rw-r--r-- | libc/string/sh64/memset.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/string/sh64/memset.S b/libc/string/sh64/memset.S index e1679230b..d87879717 100644 --- a/libc/string/sh64/memset.S +++ b/libc/string/sh64/memset.S @@ -9,7 +9,9 @@ ! Copyright 2002 SuperH Ltd. ! -#ifdef __LITTLE_ENDIAN__ +#include <endian.h> + +#if __BYTE_ORDER == __LITTLE_ENDIAN #define SHHI shlld #define SHLO shlrd #else |