Merge pull request #115 from aldenml/siocgifmtu-definition

The constant siocgifmtu is used in the context of all these macros.
This commit is contained in:
Arvid Norberg 2015-08-26 18:07:27 -04:00
commit bd5793807c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <ifaddrs.h> #include <ifaddrs.h>
#endif #endif
#if TORRENT_USE_IFADDRS #if TORRENT_USE_IFADDRS || TORRENT_USE_IFCONF || TORRENT_USE_NETLINK || TORRENT_USE_SYSCTL
// capture this here where warnings are disabled (the macro generates warnings) // capture this here where warnings are disabled (the macro generates warnings)
const int siocgifmtu = SIOCGIFMTU; const int siocgifmtu = SIOCGIFMTU;
#endif #endif