summaryrefslogtreecommitdiff
path: root/internal/warnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/warnings.h')
-rw-r--r--internal/warnings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/warnings.h b/internal/warnings.h
index 9a8017997b..da9ca440e7 100644
--- a/internal/warnings.h
+++ b/internal/warnings.h
@@ -10,8 +10,8 @@
* @brief Internal header to suppres / mandate warnings.
*/
#include "ruby/impl/warning_push.h"
-#define COMPILER_WARNING_PUSH RUBY3_WARNING_PUSH()
-#define COMPILER_WARNING_POP RUBY3_WARNING_POP()
-#define COMPILER_WARNING_ERROR(flag) RUBY3_WARNING_ERROR(flag)
-#define COMPILER_WARNING_IGNORED(flag) RUBY3_WARNING_IGNORED(flag)
+#define COMPILER_WARNING_PUSH RBIMPL_WARNING_PUSH()
+#define COMPILER_WARNING_POP RBIMPL_WARNING_POP()
+#define COMPILER_WARNING_ERROR(flag) RBIMPL_WARNING_ERROR(flag)
+#define COMPILER_WARNING_IGNORED(flag) RBIMPL_WARNING_IGNORED(flag)
#endif /* INTERNAL_WARNINGS_H */