forked from premiere/premiere-libtorrent
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:
commit
bd5793807c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue