]> granicus.if.org Git - python/commitdiff
Issue #14626: Fix buildbot issue on x86 Tiger 3.x.
authorLarry Hastings <larry@hastings.org>
Sat, 23 Jun 2012 00:06:48 +0000 (17:06 -0700)
committerLarry Hastings <larry@hastings.org>
Sat, 23 Jun 2012 00:06:48 +0000 (17:06 -0700)
Modules/posixmodule.c

index 69c5e05853869d10b128e94e2b1f19b54c9e540d..eb595134daf804be8ad6be92a7ccde0e2ab7fd0c 100644 (file)
@@ -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))