mruby-bigint: add conditional mruby/hash.h include for debug functions

Added #ifdef MRB_DEBUG conditional include for mruby/hash.h to support
debug functions that use hash operations. This enables pool statistics
and debugging functionality when MRB_DEBUG is defined without affecting
production builds.

Co-authored-by: Claude <noreply@anthropic.com>
EOF < /dev/null
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-07-26 07:10:29 +09:00
parent 27480d83db
commit d4ea18056b
+3
View File
@@ -10,6 +10,9 @@
#include <mruby/array.h>
#include <mruby/string.h>
#include <mruby/internal.h>
#ifdef MRB_DEBUG
#include <mruby/hash.h>
#endif
#include <string.h>
#include "bigint.h"