mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/bigdecimal] Suppress macro redefinition warnings
`HAVE_` macros by autoconf are defined as 1. https://github.com/ruby/bigdecimal/commit/cd35868aa6
This commit is contained in:
parent
37593c7950
commit
7ed10abdd9
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@ extern "C" {
|
||||||
#endif /* RB_UNUSED_VAR */
|
#endif /* RB_UNUSED_VAR */
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1310
|
#if defined(_MSC_VER) && _MSC_VER >= 1310
|
||||||
# define HAVE___ASSUME
|
# define HAVE___ASSUME 1
|
||||||
|
|
||||||
#elif defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1300
|
#elif defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1300
|
||||||
# define HAVE___ASSUME
|
# define HAVE___ASSUME 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UNREACHABLE
|
#ifndef UNREACHABLE
|
||||||
|
|
Loading…
Reference in a new issue