Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r97807:7f8a8e590485
Date: 2019-10-18 10:23 +0300
http://bitbucket.org/pypy/pypy/changeset/7f8a8e590485/

Log:    macos does not have clock_gettime until macOS 10.12 and Xcode 8,
        released in 2016

diff --git a/pypy/module/cpyext/include/pyconfig.h 
b/pypy/module/cpyext/include/pyconfig.h
--- a/pypy/module/cpyext/include/pyconfig.h
+++ b/pypy/module/cpyext/include/pyconfig.h
@@ -28,8 +28,10 @@
 
 #ifndef _WIN32
 #define VA_LIST_IS_ARRAY
+#ifndef __APPLE__
 #define HAVE_CLOCK_GETTIME
 #endif
+#endif
 
 #ifndef Py_BUILD_CORE /* not building the core - must be an ext */
 #  if defined(_MSC_VER) && !defined(_CFFI_)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to