[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:
Nobuyoshi Nakada 2022-10-30 22:21:18 +09:00 committed by git
parent 37593c7950
commit 7ed10abdd9
1 changed files with 2 additions and 2 deletions

View File

@ -35,10 +35,10 @@ extern "C" {
#endif /* RB_UNUSED_VAR */
#if defined(_MSC_VER) && _MSC_VER >= 1310
# define HAVE___ASSUME
# define HAVE___ASSUME 1
#elif defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1300
# define HAVE___ASSUME
# define HAVE___ASSUME 1
#endif
#ifndef UNREACHABLE