[前][次][番号順一覧][スレッド一覧]

ruby-changes:52461

From: usa <ko1@a...>
Date: Mon, 10 Sep 2018 10:43:16 +0900 (JST)
Subject: [ruby-changes:52461] usa:r64670 (trunk): there is no such predefined macro. check build before commit!

usa	2018-09-10 10:43:10 +0900 (Mon, 10 Sep 2018)

  New Revision: 64670

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64670

  Log:
    there is no such predefined macro.  check build before commit!

  Modified files:
    trunk/util.c
Index: util.c
===================================================================
--- util.c	(revision 64669)
+++ util.c	(revision 64670)
@@ -198,7 +198,7 @@ ruby_strtoul(const char *str, char **end https://github.com/ruby/ruby/blob/trunk/util.c#L198
 typedef int (cmpfunc_t)(const void*, const void*, void*);
 
 #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 cmp_bsd_qsort cmp_ms_qsort
 # define HAVE_BSD_QSORT_R 1

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]