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

ruby-changes:64719

From: Kenta <ko1@a...>
Date: Sun, 3 Jan 2021 23:39:03 +0900 (JST)
Subject: [ruby-changes:64719] 0644f466b0 (master): Include RUBY_EXTCONF_H if available

https://git.ruby-lang.org/ruby.git/commit/?id=0644f466b0

From 0644f466b0ef017202712882b557ba32863002c4 Mon Sep 17 00:00:00 2001
From: Kenta Murata <mrkn@m...>
Date: Sun, 3 Jan 2021 23:37:47 +0900
Subject: Include RUBY_EXTCONF_H if available


diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h
index 900ebd4..919583d 100644
--- a/ext/bigdecimal/bigdecimal.h
+++ b/ext/bigdecimal/bigdecimal.h
@@ -14,6 +14,10 @@ https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.h#L14
 #include "ruby/ruby.h"
 #include <float.h>
 
+#ifdef RUBY_EXTCONF_H
+# include RUBY_EXTCONF_H
+#endif
+
 #if defined(__bool_true_false_are_defined)
 # /* Take that. */
 
-- 
cgit v0.10.2


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

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