From 5ba4a6eb9f938872bffb6fc2f2a49437fa943135 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Jun 2015 15:29:53 -0700 Subject: NaCl: Fix glob.c build after getlogin_r -> __getlogin_r. --- sysdeps/nacl/glob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/nacl/glob.c') diff --git a/sysdeps/nacl/glob.c b/sysdeps/nacl/glob.c index 36d62e807d..eda6e9e110 100644 --- a/sysdeps/nacl/glob.c +++ b/sysdeps/nacl/glob.c @@ -16,11 +16,11 @@ License along with the GNU C Library; if not, see . */ -#include /* Declares getlogin_r. */ +#include /* 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 -- cgit v1.2.3