summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/pack.c b/pack.c
index aae9ceebfb..a93f7ddc92 100644
--- a/pack.c
+++ b/pack.c
@@ -70,14 +70,6 @@ static const char endstr[] = "sSiIlLqQ";
# define NATINT_LEN(type,len) ((int)sizeof(type))
#endif
-#if SIZEOF_LONG == 8
-# define INT64toNUM(x) LONG2NUM(x)
-# define UINT64toNUM(x) ULONG2NUM(x)
-#elif defined(HAVE_LONG_LONG) && SIZEOF_LONG_LONG == 8
-# define INT64toNUM(x) LL2NUM(x)
-# define UINT64toNUM(x) ULL2NUM(x)
-#endif
-
#define define_swapx(x, xtype) \
static xtype \
TOKEN_PASTE(swap,x)(xtype z) \
@@ -1899,8 +1891,6 @@ pack_unpack(VALUE str, VALUE fmt)
return ary;
}
-#define BYTEWIDTH 8
-
int
rb_uv_to_utf8(char buf[6], unsigned long uv)
{