(NEED_PATHCONF_WRAPPER): Undefine before defining,
authorJim Meyering <jim@meyering.net>
Wed, 11 Dec 2002 10:00:57 +0000 (10:00 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 11 Dec 2002 10:00:57 +0000 (10:00 +0000)
in case it's already defined.

src/pathchk.c

index 2e89b1c8a45e0a324b40f4bbcffeecb2bab5050d..f0110b57e08bae79ead53b4236a6b8457311bbf4 100644 (file)
@@ -66,6 +66,7 @@ extern int errno;
 # endif /* not PATH_MAX */
 # ifndef NAME_MAX
 #  define NAME_MAX_FOR(p) pathconf_wrapper ((p), _PC_NAME_MAX);
+#  undef NEED_PATHCONF_WRAPPER
 #  define NEED_PATHCONF_WRAPPER 1
 # endif /* not NAME_MAX */