ruby-changes:45690
From: nobu <ko1@a...>
Date: Fri, 3 Mar 2017 15:18:39 +0900 (JST)
Subject: [ruby-changes:45690] nobu:r57763 (trunk): fix for mingw64
nobu 2017-03-03 15:18:36 +0900 (Fri, 03 Mar 2017) New Revision: 57763 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57763 Log: fix for mingw64 * util.c: define MINGW_HAS_SECURE_API for qsort_s on recent mingw64. Modified files: trunk/util.c Index: util.c =================================================================== --- util.c (revision 57762) +++ util.c (revision 57763) @@ -9,6 +9,10 @@ https://github.com/ruby/ruby/blob/trunk/util.c#L9 **********************************************************************/ +#if defined __MINGW32__ || defined __MINGW64__ +#define MINGW_HAS_SECURE_API 1 +#endif + #include "internal.h" #include <ctype.h> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/