]> git.saurik.com Git - apt.git/commit
apt-private: #ifdef HAVE_STRUCT_STATFS_F_TYPE, not #if
authorJulian Andres Klode <jak@debian.org>
Thu, 4 Aug 2016 18:49:10 +0000 (20:49 +0200)
committerJulian Andres Klode <jak@debian.org>
Thu, 4 Aug 2016 19:06:52 +0000 (21:06 +0200)
commitf9de4208b490eb987daaf0dd0c3f9edead204f24
tree0c57053fa16b0eb0d301459ad86990e1e6375df6
parentc69e82559b29171f0dfc66abc8ac236d74f7201e
apt-private: #ifdef HAVE_STRUCT_STATFS_F_TYPE, not #if

While autotools defines all macros to 1 explicitly, CMake only
defines them without a value. In such a case, #if fails with an
error and #ifdef works.

In preparation for a possible switch to CMake and to clean up
the code (rest uses #ifdef), use #ifdef here
apt-private/private-download.cc