From: Jim Meyering Date: Thu, 23 Oct 1997 15:57:54 +0000 (+0000) Subject: [STREQ]: Undef then redefine. X-Git-Tag: TEXTUTILS-1_22c~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=096b53e6c6cff5aa54eaef72ca785e8d7cda43d1;p=thirdparty%2Fcoreutils.git [STREQ]: Undef then redefine. --- diff --git a/src/test.c b/src/test.c index 9ebf6025fe..93a3df48d3 100644 --- a/src/test.c +++ b/src/test.c @@ -2,7 +2,7 @@ /* Modified to run with the GNU shell by bfox. */ -/* Copyright (C) 1987-1993, 1994, 95, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1987-1996, 1997 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -61,9 +61,8 @@ char *program_name; extern int errno; #endif -#if !defined (STREQ) -# define STREQ(a, b) ((a)[0] == (b)[0] && strcmp (a, b) == 0) -#endif /* !STREQ */ +#undef STREQ +#define STREQ(a, b) ((a)[0] == (b)[0] && strcmp (a, b) == 0) #if !defined (member) # define member(c, s) ((c) ? (strchr ((s), (c)) ? 1 : 0) : 0)