summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-12 18:12:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-12 18:12:46 +0000
commitac11f944e143eaaaf596e3efb94a522502788af7 (patch)
treeebedbdf03d2c5fbc703f8b5dcc130b429a83b3a8 /eval_error.c
parent91e3c8b3702dfc1cff4f6c6fae6ab9cf55625644 (diff)
Use HAVE_BUILTIN___BUILTIN_CONSTANT_P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_error.c b/eval_error.c
index c3e7c25e67..d18658bb14 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -3,7 +3,7 @@
* included by eval.c
*/
-#if defined(__GNUC__) && !defined(__PCC__)
+#ifdef HAVE_BUILTIN___BUILTIN_CONSTANT_P
#define warn_print(x) __extension__ ( \
{ \
(__builtin_constant_p(x)) ? \