mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-13 04:30:07 +00:00
Merge getopt patch from Gnulib
* posix/getopt.c [!_LIBC]: Merge _WIN32 patch from Gnulib so that these source files are identical. This makes no difference for glibc.
This commit is contained in:
parent
464138e904
commit
06e4033c83
@ -45,7 +45,8 @@
|
|||||||
# define _(msgid) gettext (msgid)
|
# define _(msgid) gettext (msgid)
|
||||||
/* When used standalone, flockfile and funlockfile might not be
|
/* When used standalone, flockfile and funlockfile might not be
|
||||||
available. */
|
available. */
|
||||||
# ifndef _POSIX_THREAD_SAFE_FUNCTIONS
|
# if (!defined _POSIX_THREAD_SAFE_FUNCTIONS \
|
||||||
|
|| (defined _WIN32 && ! defined __CYGWIN__))
|
||||||
# define flockfile(fp) /* nop */
|
# define flockfile(fp) /* nop */
|
||||||
# define funlockfile(fp) /* nop */
|
# define funlockfile(fp) /* nop */
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user