We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b353e40 commit 567be80Copy full SHA for 567be80
1 file changed
ext/openssl/ossl.h
@@ -98,8 +98,10 @@ extern VALUE eOSSLError;
98
#if !defined(NUM2UINT64T) /* in case Ruby starts to provide */
99
# if SIZEOF_LONG == 8
100
# define NUM2UINT64T(x) ((uint64_t)NUM2ULONG(x))
101
+# define UINT64T2NUM(x) ULONG2NUM(x)
102
# elif defined(HAVE_LONG_LONG) && SIZEOF_LONG_LONG == 8
103
# define NUM2UINT64T(x) ((uint64_t)NUM2ULL(x))
104
+# define UINT64T2NUM(x) ULL2NUM(x)
105
# else
106
# error "unknown platform; no 64-bit width integer"
107
# endif
0 commit comments