summaryrefslogtreecommitdiffstats
path: root/Modules/fcntlmodule.c
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-05 00:11:36 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-05 00:11:36 (GMT)
commit14c81aba509904959a86f14ccd180f714e6b753d (patch)
tree62c6d922cd4ae226c2e076b5d3ab81c7c5d24cb5 /Modules/fcntlmodule.c
parentab70e2ab3264c444ac70a1c98e869b0de0b22c4a (diff)
downloadcpython-14c81aba509904959a86f14ccd180f714e6b753d.zip
cpython-14c81aba509904959a86f14ccd180f714e6b753d.tar.gz
cpython-14c81aba509904959a86f14ccd180f714e6b753d.tar.bz2
#16135: Removal of OS/2 support (Modules/*)
Diffstat (limited to 'Modules/fcntlmodule.c')
-rw-r--r--Modules/fcntlmodule.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/fcntlmodule.c b/Modules/fcntlmodule.c
index 6b7e3fc..5509026 100644
--- a/Modules/fcntlmodule.c
+++ b/Modules/fcntlmodule.c
@@ -325,11 +325,6 @@ fcntl_lockf(PyObject *self, PyObject *args)
&lenobj, &startobj, &whence))
return NULL;
-#if defined(PYOS_OS2) && defined(PYCC_GCC)
- PyErr_SetString(PyExc_NotImplementedError,
- "lockf not supported on OS/2 (EMX)");
- return NULL;
-#else
#ifndef LOCK_SH
#define LOCK_SH 1 /* shared lock */
#define LOCK_EX 2 /* exclusive lock */
@@ -383,7 +378,6 @@ fcntl_lockf(PyObject *self, PyObject *args)
}
Py_INCREF(Py_None);
return Py_None;
-#endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */
}
PyDoc_STRVAR(lockf_doc,