aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-02 01:50:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-02 01:50:34 +0000
commitf044fe244a004c5346150175aee7401955372beb (patch)
treea3e88215597a742609cf2748a495ddc571590dce /include
parent27c41f7784b4e5556161e3419c2d2364cdafbf35 (diff)
downloadruby-f044fe244a004c5346150175aee7401955372beb.tar.gz
missing.h: __STDC_WANT_LIB_EXT1__
* include/ruby/missing.h: __STDC_WANT_LIB_EXT1__ is necessary for memset_s. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/missing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index 1d7d2b8a82..aaf89f9664 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -18,6 +18,8 @@ extern "C" {
#endif
#endif
+#define __STDC_WANT_LIB_EXT1__ 1
+
#include "ruby/config.h"
#include <stddef.h>
#include <math.h> /* for INFINITY and NAN */