summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/posixmodule.c.h
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/clinic/posixmodule.c.h
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/clinic/posixmodule.c.h')
-rw-r--r--Modules/clinic/posixmodule.c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index ee4ee8c..4a72ea0 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -5674,7 +5674,7 @@ exit:
#endif /* defined(HAVE_COPY_FILE_RANGE) */
-#if defined(HAVE_SPLICE)
+#if ((defined(HAVE_SPLICE) && !defined(_AIX)))
PyDoc_STRVAR(os_splice__doc__,
"splice($module, /, src, dst, count, offset_src=None, offset_dst=None,\n"
@@ -5772,7 +5772,7 @@ exit:
return return_value;
}
-#endif /* defined(HAVE_SPLICE) */
+#endif /* ((defined(HAVE_SPLICE) && !defined(_AIX))) */
#if defined(HAVE_MKFIFO)
@@ -9163,4 +9163,4 @@ exit:
#ifndef OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#define OS_WAITSTATUS_TO_EXITCODE_METHODDEF
#endif /* !defined(OS_WAITSTATUS_TO_EXITCODE_METHODDEF) */
-/*[clinic end generated code: output=8a59e91178897267 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=f3ec08afcd6cd8f8 input=a9049054013a1b77]*/