NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / lib / getgroups.c
index 62234d9..91a340f 100644 (file)
@@ -1,6 +1,6 @@
 /* provide consistent interface to getgroups for systems that don't allow N==0
 
-   Copyright (C) 1996, 1999, 2003, 2006-2013 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1999, 2003, 2006-2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -53,10 +53,10 @@ getgroups (int n _GL_UNUSED, GETGROUPS_T *groups _GL_UNUSED)
    says that the behavior is dubious if you compile different sections
    of a program with different _DARWIN_C_SOURCE settings, so fix only
    the offending symbol.  */
-#ifdef __APPLE__
+# ifdef __APPLE__
 int posix_getgroups (int, gid_t []) __asm ("_getgroups");
-# define getgroups posix_getgroups
-#endif
+#  define getgroups posix_getgroups
+# endif
 
 /* On at least Ultrix 4.3 and NextStep 3.2, getgroups (0, NULL) always
    fails.  On other systems, it returns the number of supplemental