]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[STREQ]: Undef then redefine.
authorJim Meyering <jim@meyering.net>
Thu, 23 Oct 1997 15:57:54 +0000 (15:57 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 23 Oct 1997 15:57:54 +0000 (15:57 +0000)
src/test.c

index 9ebf6025fe1059438755ea21a228b2ce180a1cfb..93a3df48d328e0031e134d0041bf8b3a3dc78a6e 100644 (file)
@@ -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)