mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
Update Gnulib to v0.1-1157-gb03f418.
This commit is contained in:
parent
69ca2bb221
commit
7e641595cd
397 changed files with 1995 additions and 1095 deletions
|
@ -1,6 +1,6 @@
|
|||
/* A GNU-like <stdlib.h>.
|
||||
|
||||
Copyright (C) 1995, 2001-2004, 2006-2016 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 2001-2004, 2006-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
|
||||
|
@ -521,6 +521,9 @@ _GL_CXXALIASWARN (putenv);
|
|||
#endif
|
||||
|
||||
#if @GNULIB_QSORT_R@
|
||||
/* Sort an array of NMEMB elements, starting at address BASE, each element
|
||||
occupying SIZE bytes, in ascending order according to the comparison
|
||||
function COMPARE. */
|
||||
# if @REPLACE_QSORT_R@
|
||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||
# undef qsort_r
|
||||
|
@ -535,12 +538,24 @@ _GL_CXXALIAS_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size,
|
|||
void *),
|
||||
void *arg));
|
||||
# else
|
||||
# if !@HAVE_QSORT_R@
|
||||
_GL_FUNCDECL_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size,
|
||||
int (*compare) (void const *, void const *,
|
||||
void *),
|
||||
void *arg) _GL_ARG_NONNULL ((1, 4)));
|
||||
# endif
|
||||
_GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size,
|
||||
int (*compare) (void const *, void const *,
|
||||
void *),
|
||||
void *arg));
|
||||
# endif
|
||||
_GL_CXXALIASWARN (qsort_r);
|
||||
#elif defined GNULIB_POSIXCHECK
|
||||
# undef qsort_r
|
||||
# if HAVE_RAW_DECL_QSORT_R
|
||||
_GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - "
|
||||
"use gnulib module qsort_r for portability");
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue