diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-10-30 22:21:18 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-10-30 14:21:31 +0000 |
commit | 7ed10abdd97a324583c9b9794088a41a550abcd0 (patch) | |
tree | edb9cfcbe53f5d6a6993d83977bca48b8d892a3c /ext/bigdecimal | |
parent | 37593c795040ec5266bf86f9ae1c1e052af5dc9f (diff) |
[ruby/bigdecimal] Suppress macro redefinition warnings
`HAVE_` macros by autoconf are defined as 1.
https://github.com/ruby/bigdecimal/commit/cd35868aa6
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r-- | ext/bigdecimal/missing.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/missing.h b/ext/bigdecimal/missing.h index 307147c0fd..325554b5f5 100644 --- a/ext/bigdecimal/missing.h +++ b/ext/bigdecimal/missing.h @@ -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 |