summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-06-23 00:06:48 (GMT)
committerLarry Hastings <larry@hastings.org>2012-06-23 00:06:48 (GMT)
commit67cbf7bff9173463c9bad620ebe534a24e245f45 (patch)
tree7af7df4108cff833003fbc4f0fdbccdcd76fafde /Modules/posixmodule.c
parent90867a5abab7fc866e4cb392c34242b49ea45258 (diff)
downloadcpython-67cbf7bff9173463c9bad620ebe534a24e245f45.zip
cpython-67cbf7bff9173463c9bad620ebe534a24e245f45.tar.gz
cpython-67cbf7bff9173463c9bad620ebe534a24e245f45.tar.bz2
Issue #14626: Fix buildbot issue on x86 Tiger 3.x.
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 69c5e05..eb59513 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3238,7 +3238,7 @@ posix_link(PyObject *self, PyObject *args, PyObject *kwargs)
}
#else
Py_BEGIN_ALLOW_THREADS
-#ifndef HAVE_LINKAT
+#ifdef HAVE_LINKAT
if ((src_dir_fd != DEFAULT_DIR_FD) ||
(dst_dir_fd != DEFAULT_DIR_FD) ||
(!follow_symlinks))