This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/ext/bigdecimal/bigdecimal.c | |
| +++ b/ext/bigdecimal/bigdecimal.c | |
| @@ -62,7 +62,11 @@ static ID id_eq; | |
| static ID id_half; | |
| /* MACRO's to guard objects from GC by keeping them in stack */ | |
| +#ifdef RBIMPL_ATTR_MAYBE_UNUSED | |
| +#define ENTER(n) RBIMPL_ATTR_MAYBE_UNUSED() volatile VALUE vStack[n];int iStack=0 | |
| +#else | |
| #define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0 |