X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fmarshal.c;h=d48cb8bd28bd5144ea728bbc769292340c22a47a;hp=6473eca10a23b2e11021783d0e4d442ebd8811bb;hb=10e51aad0515e80adeb96a47776a2d80e62a98bc;hpb=585ba48b2f2f3e7413fae1d8bef93523c13f253e diff --git a/src/marshal.c b/src/marshal.c index 6473eca..d48cb8b 100644 --- a/src/marshal.c +++ b/src/marshal.c @@ -226,6 +226,7 @@ impl_val *psi_let_boolval(impl_val *tmp, struct psi_decl_arg *spec, token_t impl return psi_val_boolval(tmp, real_type, boolval); } +#if HAVE_INT128 static inline char *psi_u128_to_buf(char *buf, unsigned __int128 u128) { for (*buf = 0; u128 > 0; u128 /= 10) { @@ -245,7 +246,6 @@ static inline char *psi_i128_to_buf(char *buf, __int128 i128) return psi_u128_to_buf(buf, i128); } -#if HAVE_INT128 # define RETVAL_LONG_STR(V, s) do {\ char buf[0x30] = {0}; \ if (s && V >= ZEND_LONG_MIN && V <= ZEND_LONG_MAX) { \