From 3ce2865f93d42f4721d58088dd6ab1dac06ea85b Mon Sep 17 00:00:00 2001 From: Chung-Lin Tang Date: Tue, 24 Apr 2012 21:32:11 +0800 Subject: SH: Replace usage with pre-processor macros. Follow-up to f8887d0a5feda97244613135822b0439addc2b1f. --- sysdeps/sh/strlen.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sysdeps/sh/strlen.S') diff --git a/sysdeps/sh/strlen.S b/sysdeps/sh/strlen.S index 93f7dd8..65aec76 100644 --- a/sysdeps/sh/strlen.S +++ b/sysdeps/sh/strlen.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. +/* Copyright (C) 1999-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Kazumoto Kojima @@ -17,7 +17,6 @@ . */ #include -#include /* size_t strlen (const char *s) */ @@ -58,7 +57,7 @@ ENTRY(strlen) add #4, r2 add #-4, r2 -#if __BYTE_ORDER == __BIG_ENDIAN +#ifdef __BIG_ENDIAN__ swap.b r1, r1 swap.w r1, r1 swap.b r1, r1 -- cgit v1.1