| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/s2/files/ |
Upload File : |
Reference: https://github.com/google/s2geometry/commit/7a40135059545396237a0199c558d749fe3be0b1
--- src/s2/util/math/exactfloat/exactfloat.cc.orig 2022-05-24 22:12:24 UTC
+++ src/s2/util/math/exactfloat/exactfloat.cc
@@ -141,7 +141,7 @@ inline static uint64 BN_ext_get_uint64(const BIGNUM* b
#ifdef IS_LITTLE_ENDIAN
S2_CHECK_EQ(BN_bn2lebinpad(bn, reinterpret_cast<unsigned char*>(&r),
sizeof(r)), sizeof(r));
-#elif IS_BIG_ENDIAN
+#elif defined(IS_BIG_ENDIAN)
S2_CHECK_EQ(BN_bn2binpad(bn, reinterpret_cast<unsigned char*>(&r),
sizeof(r)), sizeof(r));
#else