]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
CMake: Check for ptsname_r() again
[apt.git] / apt-pkg / deb / dpkgpm.cc
index c1b9a28f4ad1ecd3f363e313c94408db8d871a4a..ccfc77d6a4831ba75a192ea6f6c5faf8999e92b8 100644 (file)
@@ -1086,7 +1086,7 @@ void pkgDPkgPM::StartPtyMagic()                                           /*{{{*/
       _error->Errno("unlockpt", "Unlocking the slave of master fd %d failed!", d->master);
    else
    {
-#ifdef HAVE_PTS_NAME_R
+#ifdef HAVE_PTSNAME_R
       char slave_name[64];     // 64 is used by bionic
       if (ptsname_r(d->master, slave_name, sizeof(slave_name)) != 0)
 #else