]> git.pld-linux.org Git - packages/php.git/blob - x32.patch
x32 upstreamed
[packages/php.git] / x32.patch
1 https://github.com/php/php-src/pull/3665
2
3 --- php-7.3.0RC3/Zend/zend_string.c~    2018-10-09 11:26:41.000000000 +0200
4 +++ php-7.3.0RC3/Zend/zend_string.c     2018-10-24 22:05:01.639560148 +0200
5 @@ -392,7 +392,7 @@
6  }
7  #endif
8  
9 -#elif defined(__GNUC__) && defined(__x86_64__)
10 +#elif defined(__GNUC__) && defined(__x86_64__) && !defined(__ILP32__)
11  ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2)
12  {
13         char *ptr = ZSTR_VAL(s1);
14 --- php-7.3.0RC5/Zend/zend_string.h~    2018-11-06 12:22:56.000000000 +0200
15 +++ php-7.3.0RC5/Zend/zend_string.h     2018-11-12 13:32:37.350520375 +0200
16 @@ -294,7 +294,7 @@
17         }
18  }
19  
20 -#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
21 +#if defined(__GNUC__) && (defined(__i386__) || (defined(__x86_64__) && !defined(__ILP32__)))
22  BEGIN_EXTERN_C()
23  ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2);
24  END_EXTERN_C()
25 --- php-7.3.0RC3/ext/opcache/zend_accelerator_util_funcs.c~     2018-10-09 11:26:32.000000000 +0200
26 +++ php-7.3.0RC3/ext/opcache/zend_accelerator_util_funcs.c      2018-10-24 22:15:44.849117508 +0200
27 @@ -719,7 +719,7 @@
28                 : "r"(delta)
29                 : "cc", "memory", "%xmm0", "%xmm1", "%xmm1", "%xmm2");
30  }
31 -# elif defined(__GNUC__) && defined(__x86_64__)
32 +# elif defined(__GNUC__) && defined(__x86_64__) && !defined(__ILP32__)
33  static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size)
34  {
35         size_t delta = (char*)dest - (char*)src;
This page took 0.033597 seconds and 3 git commands to generate.