diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-07-30 01:08:28 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-07-30 01:08:28 (GMT) |
commit | 1169011f6f29b4d332aa8c9ea543c64dc2e11bbb (patch) | |
tree | 4f9de0eafdf5e4c968c3e4fb4c24df37105c61bd /Modules | |
parent | cee5ca060bc1e8870fdadf1ef719761fe2dc500d (diff) | |
download | cpython-1169011f6f29b4d332aa8c9ea543c64dc2e11bbb.zip cpython-1169011f6f29b4d332aa8c9ea543c64dc2e11bbb.tar.gz cpython-1169011f6f29b4d332aa8c9ea543c64dc2e11bbb.tar.bz2 |
SF patch #584245, get python to link on OSF1 (Dec Unix)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 6100067..e5d1178 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4604,7 +4604,7 @@ posix_mkfifo(PyObject *self, PyObject *args) #endif -#ifdef HAVE_MKNOD +#if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV) PyDoc_STRVAR(posix_mknod__doc__, "mknod(filename, [, mode=0600, major, minor])\n\n\ Create a filesystem node (file, device special file or named pipe)\n\ @@ -6426,7 +6426,7 @@ static PyMethodDef posix_methods[] = { #ifdef HAVE_MKFIFO {"mkfifo", posix_mkfifo, METH_VARARGS, posix_mkfifo__doc__}, #endif -#ifdef HAVE_MKNOD +#if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV) {"mknod", posix_mknod, METH_VARARGS, posix_mknod__doc__}, #endif #ifdef HAVE_FTRUNCATE |