Do not expand macros to 'defined'
authorPavel I. Kryukov <kryukov@frtk.ru>
Wed, 16 Jan 2019 21:04:34 +0000 (16:04 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 16 Jan 2019 21:10:35 +0000 (16:10 -0500)
commit7516c26f867b8c235f28a4d449efb9990125e0a1
treeda307d116ac5c6003350caec27e8cb5725d42b36
parentc24bdb023c8e1fa969d6eb945059fa8ed0d490c7
Do not expand macros to 'defined'

Expanding a macro which contains 'defined' PP keyword is UB.  It causes
a compilation failure when -Wexpansion-to-defined is used.

sim/common/Changelog:
2019-01-16  Pavel I. Kryukov  <kryukov@frtk.ru>

* sim-arange.c: eliminate DEFINE_NON_INLINE_P
sim/common/ChangeLog
sim/common/sim-arange.c