From bc148b24448c68bc2720a10db4424d8a6d5772b3 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 14 Jan 2019 21:34:02 -0700 Subject: [PATCH] Use only unsigned long for rb_serial_t --- internal.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/internal.h b/internal.h index baefb36c02..f57dc911ef 100644 --- a/internal.h +++ b/internal.h @@ -1000,22 +1000,10 @@ struct rb_subclass_entry { rb_subclass_entry_t *next; }; -#if defined(HAVE_LONG_LONG) -typedef unsigned LONG_LONG rb_serial_t; -#define SERIALT2NUM ULL2NUM -#define PRI_SERIALT_PREFIX PRI_LL_PREFIX -#define SIZEOF_SERIAL_T SIZEOF_LONG_LONG -#elif defined(HAVE_UINT64_T) -typedef uint64_t rb_serial_t; -#define SERIALT2NUM SIZET2NUM -#define PRI_SERIALT_PREFIX PRI_64_PREFIX -#define SIZEOF_SERIAL_T SIZEOF_UINT64_T -#else typedef unsigned long rb_serial_t; #define SERIALT2NUM ULONG2NUM #define PRI_SERIALT_PREFIX PRI_LONG_PREFIX #define SIZEOF_SERIAL_T SIZEOF_LONG -#endif struct rb_classext_struct { struct st_table *iv_index_tbl; -- 2.24.1