diff options
author | Jim Meyering <jim@meyering.net> | 1998-03-15 17:54:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-03-15 17:54:50 +0000 |
commit | 6684ffa826953b473fe8d7b93770905d081dda74 (patch) | |
tree | cdd766842381aab41179bf6b4c9b12295aa40572 /src/chgrp.c | |
parent | bfbc3ce20cdcfd00c27922c2e78cbff43846fe0d (diff) | |
download | coreutils-6684ffa826953b473fe8d7b93770905d081dda74.tar.gz |
Use #if, not #ifdef with HAVE_ macros.
Use #if !, not #ifndef with HAVE_ macros.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r-- | src/chgrp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chgrp.c b/src/chgrp.c index c4c701b76..3eb9ca213 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -39,11 +39,11 @@ struct group *getgrnam (); #endif -#ifndef HAVE_ENDGRENT +#if ! HAVE_ENDGRENT # define endgrent() ((void) 0) #endif -#ifdef HAVE_LCHOWN +#if HAVE_LCHOWN # define LCHOWN(FILE, OWNER, GROUP) lchown (FILE, OWNER, GROUP) #else # define LCHOWN(FILE, OWNER, GROUP) 1 @@ -379,7 +379,7 @@ main (int argc, char **argv) usage (1); } -#ifndef HAVE_LCHOWN +#if ! HAVE_LCHOWN if (change_symlinks) { error (1, 0, _("--no-dereference (-h) is not supported on this system")); |