Skip to content

Commit

Permalink
Fix -Wundef warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 19, 2024
1 parent 4751402 commit 0ea3ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/digest/digest.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0ea3ac9

Please sign in to comment.