diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-21 03:39:44 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-21 03:39:44 (GMT) |
commit | 637d1e2b0a7b12c25e1191a99d7297eadcd4c921 (patch) | |
tree | 35b45e4e968895c1d09b9cdbc2ab7f8867c71188 /Include | |
parent | b6f3c0dca12768690da49d6e28d71f2910a101b6 (diff) | |
parent | 0c21214f3e583d541227df2239de377e796b55fa (diff) | |
download | cpython-637d1e2b0a7b12c25e1191a99d7297eadcd4c921.zip cpython-637d1e2b0a7b12c25e1191a99d7297eadcd4c921.tar.gz cpython-637d1e2b0a7b12c25e1191a99d7297eadcd4c921.tar.bz2 |
merge 3.6
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyport.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index ec3c4df..20f3db7 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -723,15 +723,7 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *); #define Py_ULL(x) Py_LL(x##U) #endif -#ifdef VA_LIST_IS_ARRAY -#define Py_VA_COPY(x, y) memcpy((x), (y), sizeof(va_list)) -#else -#ifdef __va_copy -#define Py_VA_COPY __va_copy -#else -#define Py_VA_COPY(x, y) (x) = (y) -#endif -#endif +#define Py_VA_COPY va_copy /* * Convenient macros to deal with endianness of the platform. WORDS_BIGENDIAN is |