]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-download.cc
apt-private: #ifdef HAVE_STRUCT_STATFS_F_TYPE, not #if
[apt.git] / apt-private / private-download.cc
index 4ffe78b24234cad292c8af246d26491eb3330927..c85a497274e009535583a6ddc6fda488682eea66 100644 (file)
@@ -143,7 +143,7 @@ bool CheckFreeSpaceBeforeDownload(std::string const &Dir, unsigned long long Fet
       {
         struct statfs Stat;
         if (statfs(Dir.c_str(),&Stat) != 0
       {
         struct statfs Stat;
         if (statfs(Dir.c_str(),&Stat) != 0
-#if HAVE_STRUCT_STATFS_F_TYPE
+#ifdef HAVE_STRUCT_STATFS_F_TYPE
               || Stat.f_type != RAMFS_MAGIC
 #endif
            )
               || Stat.f_type != RAMFS_MAGIC
 #endif
            )