зеркало из https://github.com/github/ruby.git
there is no such predefined macro. check build before commit!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
73e7cdebe1
Коммит
5679d0c5c2
2
util.c
2
util.c
|
@ -198,7 +198,7 @@ ruby_strtoul(const char *str, char **endptr, int base)
|
||||||
typedef int (cmpfunc_t)(const void*, const void*, void*);
|
typedef int (cmpfunc_t)(const void*, const void*, void*);
|
||||||
|
|
||||||
#if defined HAVE_QSORT_S
|
#if defined HAVE_QSORT_S
|
||||||
# if defined __MSVCRT__
|
# if defined RUBY_MSVCRT_VERSION
|
||||||
# define qsort_r(base, nel, size, arg, cmp) qsort_s(base, nel, size, cmp, arg)
|
# define qsort_r(base, nel, size, arg, cmp) qsort_s(base, nel, size, cmp, arg)
|
||||||
# define cmp_bsd_qsort cmp_ms_qsort
|
# define cmp_bsd_qsort cmp_ms_qsort
|
||||||
# define HAVE_BSD_QSORT_R 1
|
# define HAVE_BSD_QSORT_R 1
|
||||||
|
|
Загрузка…
Ссылка в новой задаче