From 49171bd79754991146344bc2fa4e46ecf6893baf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 2 Mar 1998 13:42:13 +0000 Subject: [PATCH] Undo last change. --- wctype/wctype.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wctype/wctype.c b/wctype/wctype.c index 2116a635050..81cf8f35cfd 100644 --- a/wctype/wctype.c +++ b/wctype/wctype.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper, . @@ -42,9 +42,9 @@ wctype (const char *property) #if __BYTE_ORDER == __BIG_ENDIAN return result; #else -#define XSWAPU32(w) \ - ((((w) & 0xff00ff00) >> 8) | (((w) & 0xff00ff) << 8)) +# define SWAPU32(w) \ + (((w) << 24) | (((w) & 0xff00) << 8) | (((w) >> 8) & 0xff00) | ((w) >> 24)) - return XSWAPU32 (result); + return SWAPU32 (result); #endif } -- 2.47.2