Project

General

Profile

« Previous | Next » 

Revision 6163a4e1

Added by shyouhei (Shyouhei Urabe) about 5 years ago

RUBY3_HAS_BUILTIN: fix for nonexistent builtin

Trying to fix icc breakage:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-master/log/20200408T050004Z.fail.html.gz

It seems the macro had problems when a builtin does not exist for the
target compiler. Force evaluete to 0 then, by adding 0 to the
expression.