[ruby/digest] Fix -Wundef
warnings
https://github.com/ruby/digest/commit/0ea3ac9926
This commit is contained in:
parent
b23c5063e8
commit
727b2a2999
@ -76,7 +76,7 @@ rb_id_metadata(void)
|
||||
static inline VALUE
|
||||
rb_digest_make_metadata(const rb_digest_metadata_t *meta)
|
||||
{
|
||||
#if EXTSTATIC
|
||||
#if defined(EXTSTATIC) && EXTSTATIC
|
||||
/* The extension is built as a static library, so safe to refer to
|
||||
* rb_digest_wrap_metadata directly. */
|
||||
extern VALUE rb_digest_wrap_metadata(const rb_digest_metadata_t *meta);
|
||||
|
Loading…
x
Reference in New Issue
Block a user