aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib.in.h
diff options
context:
space:
mode:
authorEli Zaretskii2014-10-14 21:10:37 +0300
committerEli Zaretskii2014-10-14 21:10:37 +0300
commite3060a0c4d2f418ac786775109d71e5843ccf42e (patch)
tree347b37fc39d0db9cd23b3e9f79ee81b4bbc40f08 /lib/stdlib.in.h
parent1a3eca0656bdb764200e10a4f264138e94b1f3ce (diff)
parent980d78b3587560c13a46aef352ed8d5ed744acf6 (diff)
downloademacs-e3060a0c4d2f418ac786775109d71e5843ccf42e.tar.gz
emacs-e3060a0c4d2f418ac786775109d71e5843ccf42e.zip
Merge from trunk and resolve conflicts.
Diffstat (limited to 'lib/stdlib.in.h')
-rw-r--r--lib/stdlib.in.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h
index 46e10dba972..ee643247d85 100644
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -520,6 +520,29 @@ _GL_CXXALIAS_SYS (putenv, int, (char *string));
520_GL_CXXALIASWARN (putenv); 520_GL_CXXALIASWARN (putenv);
521#endif 521#endif
522 522
523#if @GNULIB_QSORT_R@
524# if @REPLACE_QSORT_R@
525# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
526# undef qsort_r
527# define qsort_r rpl_qsort_r
528# endif
529_GL_FUNCDECL_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size,
530 int (*compare) (void const *, void const *,
531 void *),
532 void *arg) _GL_ARG_NONNULL ((1, 4)));
533_GL_CXXALIAS_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size,
534 int (*compare) (void const *, void const *,
535 void *),
536 void *arg));
537# else
538_GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size,
539 int (*compare) (void const *, void const *,
540 void *),
541 void *arg));
542# endif
543_GL_CXXALIASWARN (qsort_r);
544#endif
545
523 546
524#if @GNULIB_RANDOM_R@ 547#if @GNULIB_RANDOM_R@
525# if !@HAVE_RANDOM_R@ 548# if !@HAVE_RANDOM_R@