diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-06-25 17:00:26 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-06-25 17:00:26 +0200 |
commit | 205807f60ed3e76b318bbd398e51b764c7e2317d (patch) | |
tree | 6d4949d05378e616692244720be02650c48f7e99 /main/php.h | |
parent | 6dd2eaf45c676eb6c133b5f926334e12ef73f664 (diff) | |
download | php-git-205807f60ed3e76b318bbd398e51b764c7e2317d.tar.gz |
Move va_copy compatibility code into zend_portability.h
Previously this was defined in zend.c and php.h and also handled
in another way in soap.c.
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/main/php.h b/main/php.h index 116485a811..53926d2321 100644 --- a/main/php.h +++ b/main/php.h @@ -240,14 +240,6 @@ typedef unsigned int socklen_t; # endif #endif -#ifndef va_copy -# ifdef __va_copy -# define va_copy(ap1, ap2) __va_copy((ap1), (ap2)) -# else -# define va_copy(ap1, ap2) memcpy((&ap1), (&ap2), sizeof(va_list)) -# endif -#endif - #include "php_stdint.h" #include "zend_hash.h" |