summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-21 03:39:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-21 03:39:44 (GMT)
commit637d1e2b0a7b12c25e1191a99d7297eadcd4c921 (patch)
tree35b45e4e968895c1d09b9cdbc2ab7f8867c71188 /Include
parentb6f3c0dca12768690da49d6e28d71f2910a101b6 (diff)
parent0c21214f3e583d541227df2239de377e796b55fa (diff)
downloadcpython-637d1e2b0a7b12c25e1191a99d7297eadcd4c921.zip
cpython-637d1e2b0a7b12c25e1191a99d7297eadcd4c921.tar.gz
cpython-637d1e2b0a7b12c25e1191a99d7297eadcd4c921.tar.bz2
merge 3.6
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h10
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