mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
HAVE_* macros should not be defined with value 0
* See [Feature #17752]
This commit is contained in:
parent
0764d323d8
commit
f108bc32af
Notes:
git
2021-05-04 21:57:19 +09:00
2 changed files with 1 additions and 5 deletions
|
|
@ -90,16 +90,12 @@
|
|||
#define ERRORFUNC(mesg, x) RBIMPL_ATTR_ERROR(mesg) x
|
||||
#if RBIMPL_HAS_ATTRIBUTE(error)
|
||||
# define HAVE_ATTRIBUTE_ERRORFUNC 1
|
||||
#else
|
||||
# define HAVE_ATTRIBUTE_ERRORFUNC 0
|
||||
#endif
|
||||
|
||||
#undef WARNINGFUNC
|
||||
#define WARNINGFUNC(mesg, x) RBIMPL_ATTR_WARNING(mesg) x
|
||||
#if RBIMPL_HAS_ATTRIBUTE(warning)
|
||||
# define HAVE_ATTRIBUTE_WARNINGFUNC 1
|
||||
#else
|
||||
# define HAVE_ATTRIBUTE_WARNINGFUNC 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue