summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-12-02 17:57:18 (GMT)
committerGitHub <noreply@github.com>2020-12-02 17:57:18 (GMT)
commitdedc2cd5f02a2e2fc2c995a36a3dccf9d93856bb (patch)
treeeb05ba116ecf152dd39c7a2e579cc2d246612da9 /Modules/posixmodule.c
parent99b594404d364b363c184f48338d6ee81bee26dd (diff)
downloadcpython-dedc2cd5f02a2e2fc2c995a36a3dccf9d93856bb.zip
cpython-dedc2cd5f02a2e2fc2c995a36a3dccf9d93856bb.tar.gz
cpython-dedc2cd5f02a2e2fc2c995a36a3dccf9d93856bb.tar.bz2
bpo-41625: Do not add os.splice on AIX due to compatibility issues (GH-23608)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 3e6e658..d9eb62f 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -10370,7 +10370,7 @@ os_copy_file_range_impl(PyObject *module, int src, int dst, Py_ssize_t count,
}
#endif /* HAVE_COPY_FILE_RANGE*/
-#ifdef HAVE_SPLICE
+#if (defined(HAVE_SPLICE) && !defined(_AIX))
/*[clinic input]
os.splice