mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
Update Gnulib to v0.1-1157-gb03f418.
This commit is contained in:
parent
d475b7a946
commit
fcf8716d60
397 changed files with 1995 additions and 1095 deletions
|
@ -1,6 +1,6 @@
|
|||
/* A GNU-like <stdio.h>.
|
||||
|
||||
Copyright (C) 2004, 2007-2016 Free Software Foundation, Inc.
|
||||
Copyright (C) 2004, 2007-2017 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
|
@ -118,6 +118,26 @@
|
|||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* MSVC declares 'perror' in <stdlib.h>, not in <stdio.h>. We must include
|
||||
it before we #define perror rpl_perror. */
|
||||
/* But in any case avoid namespace pollution on glibc systems. */
|
||||
#if (@GNULIB_PERROR@ || defined GNULIB_POSIXCHECK) \
|
||||
&& ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
|
||||
&& ! defined __GLIBC__
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
|
||||
/* MSVC declares 'remove' in <io.h>, not in <stdio.h>. We must include
|
||||
it before we #define remove rpl_remove. */
|
||||
/* MSVC declares 'rename' in <io.h>, not in <stdio.h>. We must include
|
||||
it before we #define rename rpl_rename. */
|
||||
/* But in any case avoid namespace pollution on glibc systems. */
|
||||
#if (@GNULIB_REMOVE@ || @GNULIB_RENAME@ || defined GNULIB_POSIXCHECK) \
|
||||
&& ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
|
||||
&& ! defined __GLIBC__
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue