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 b60cf3b commit bb8cabeCopy full SHA for bb8cabe
ext/bcmath/libbcmath/src/adapter.h
@@ -74,4 +74,10 @@ typedef zend_long bc_long;
74
#define BC_BYTES_SWAP64(x) ZEND_BYTES_SWAP64(x)
75
#define BC_BYTES_SWAP32(x) ZEND_BYTES_SWAP32(x)
76
77
+#ifdef WORDS_BIGENDIAN
78
+# define BC_LITTLE_ENDIAN 0
79
+#else
80
+# define BC_LITTLE_ENDIAN 1
81
+#endif
82
+
83
#endif
ext/bcmath/libbcmath/src/private.h
@@ -58,12 +58,6 @@
58
# define BC_VECTOR_BOUNDARY_NUM (BC_VECTOR) 10000
59
60
61
-#ifdef WORDS_BIGENDIAN
62
-# define BC_LITTLE_ENDIAN 0
63
-#else
64
-# define BC_LITTLE_ENDIAN 1
65
-#endif
66
-
67
/* 64-bytes for 64-bit */
68
#define BC_STACK_VECTOR_SIZE 8
69
0 commit comments