Skip to content

Commit 42840f6

Browse files
committed
Fix ext/mysqlnd
1 parent aea6edd commit 42840f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This file is public domain and comes with NO WARRANTY of any kind */
108108
*/
109109

110110
/* Optimized store functions for Intel x86, non-valid for WIN64. __i386__ is GCC */
111-
#if defined(__i386__) && !defined(_WIN64)
111+
#if SIZEOF_ZEND_LONG == 4 && defined(__i386__) && !defined(_WIN64)
112112
#define sint2korr(A) (*((int16_t *) (A)))
113113
#define sint3korr(A) ((int32_t) ((((zend_uchar) (A)[2]) & 128) ? \
114114
(((uint32_t) 255L << 24) | \

0 commit comments

Comments
 (0)