mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
NaCl: Fix glob.c build after getlogin_r -> __getlogin_r.
This commit is contained in:
parent
a67894c505
commit
5ba4a6eb9f
@ -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]
|
||||
|
@ -16,11 +16,11 @@
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user