diff options
author | Wayne Davison <wayned@samba.org> | 2005-01-28 18:50:49 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-01-28 18:50:49 +0000 |
commit | 25ff04417e4b4fa0aeb44e0b1576a01021aa1650 (patch) | |
tree | 33747a607367dd1dd54d014d4e17a81e239de6bd /getgroups.c | |
parent | 63ecee4d1ae76134d3ebd6272d2157f059b2cab6 (diff) | |
download | rsync-25ff04417e4b4fa0aeb44e0b1576a01021aa1650.tar.gz |
Use "#if" (not "#ifdef") for configure-defined macros.
Diffstat (limited to 'getgroups.c')
-rw-r--r-- | getgroups.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/getgroups.c b/getgroups.c index 6a8fac2e..6b4259d7 100644 --- a/getgroups.c +++ b/getgroups.c @@ -34,7 +34,7 @@ main(UNUSED(int argc), UNUSED(char *argv[])) gid_t gid = MY_GID(); int gid_in_list = 0; -#ifdef HAVE_GETGROUPS +#if HAVE_GETGROUPS if ((n = getgroups(0, NULL)) < 0) { perror("getgroups"); return 1; @@ -49,7 +49,7 @@ main(UNUSED(int argc), UNUSED(char *argv[])) exit(1); } -#ifdef HAVE_GETGROUPS +#if HAVE_GETGROUPS if (n > 0) n = getgroups(n, list); #endif |