diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-13 13:10:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-13 13:10:38 +0000 |
commit | 5a69bc6e5fa05cf5c3ebc2677b43023b857a9a22 (patch) | |
tree | 366dd1410ee9a5515a89ea797d9c86155dde2233 /lib | |
parent | e8bfedbcd48239123f819ac2f567fb0799f7d7cd (diff) | |
download | coreutils-5a69bc6e5fa05cf5c3ebc2677b43023b857a9a22.tar.xz |
Undef __P before defining.
Guard definition with simpler `#if __STDC__'.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/makepath.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/makepath.h b/lib/makepath.h index f555d7b4b..2756446c8 100644 --- a/lib/makepath.h +++ b/lib/makepath.h @@ -1,10 +1,9 @@ -#ifndef __P -#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +#if __STDC__ +#undef __P #define __P(args) args #else #define __P(args) () -#endif /* GCC. */ -#endif /* Not __P. */ +#endif int make_path __P ((const char *_argpath, |