Skip to content

Commit 7ed10ab

Browse files
nobumatzbot
authored andcommitted
[ruby/bigdecimal] Suppress macro redefinition warnings
`HAVE_` macros by autoconf are defined as 1. ruby/bigdecimal@cd35868aa6
1 parent 37593c7 commit 7ed10ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/bigdecimal/missing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ extern "C" {
3535
#endif /* RB_UNUSED_VAR */
3636

3737
#if defined(_MSC_VER) && _MSC_VER >= 1310
38-
# define HAVE___ASSUME
38+
# define HAVE___ASSUME 1
3939

4040
#elif defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1300
41-
# define HAVE___ASSUME
41+
# define HAVE___ASSUME 1
4242
#endif
4343

4444
#ifndef UNREACHABLE

0 commit comments

Comments
 (0)