From 68d6bd0873557c12bec6f8e0f8db622f1499d8a7 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 29 Apr 2021 14:31:05 +0200 Subject: Fix trivial -Wundef warnings * See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) --- memory_view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'memory_view.c') diff --git a/memory_view.c b/memory_view.c index ce2803717b..9609ecae3f 100644 --- a/memory_view.c +++ b/memory_view.c @@ -671,7 +671,7 @@ extract_item_member(const uint8_t *ptr, const rb_memory_view_item_component_t *m return LL2NUM(val.ll); } else { -#if SIZEOF_INT64_t == SIZEOF_LONG +#if SIZEOF_INT64_T == SIZEOF_LONG return LONG2NUM(val.i64); #else return LL2NUM(val.i64); @@ -683,7 +683,7 @@ extract_item_member(const uint8_t *ptr, const rb_memory_view_item_component_t *m return ULL2NUM(val.ull); } else { -#if SIZEOF_UINT64_t == SIZEOF_LONG +#if SIZEOF_UINT64_T == SIZEOF_LONG return ULONG2NUM(val.u64); #else return ULL2NUM(val.u64); -- cgit v1.2.3