summaryrefslogtreecommitdiff
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
commit4a7dedf7f0b92f327fbc9f1042ed9eb4c9ebef66 (patch)
treea3e88215597a742609cf2748a495ddc571590dce
parentd1decf0dfe34e2a16e6cbd0de97f9f011d98d94e (diff)
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
-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 1d7d2b8..aaf89f9 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 */