]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
NaCl: Fix glob.c build after getlogin_r -> __getlogin_r.
authorRoland McGrath <roland@hack.frob.com>
Wed, 24 Jun 2015 22:29:53 +0000 (15:29 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 24 Jun 2015 22:29:53 +0000 (15:29 -0700)
ChangeLog
sysdeps/nacl/glob.c

index ceeadda944a016e377fce527af864c9571b75985..333b69048c4f2e64156a7ce752bd37c45d65e7cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-24  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
+       (__getlogin_r): ... this.
+
 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #18594]
index 36d62e807dec238964fbefc511d89b583a3f8b4b..eda6e9e1101c4587a69963e22bbe1a9b0f7c28d5 100644 (file)
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#include <unistd.h>                    /* Declares getlogin_r.  */
+#include <unistd.h>                    /* Declares __getlogin_r.  */
 
 /* We do not have getlogin_r in the library at all for NaCl.
    Define it away so the glob code does not try to use it.  */
-#define getlogin_r(name, len)          (ENOSYS)
+#define __getlogin_r(name, len)                (ENOSYS)
 
 /* Fetch the version that defines glob64 as an alias.  */
 #include <sysdeps/wordsize-64/glob.c>