fix if defined TORRENT_ANDROID

Fix malformed TORRENT_ANDROID macroprocessor tests, related to #2831
This commit is contained in:
Alexandre Janniaux 2018-03-12 11:36:29 +01:00 committed by Arvid Norberg
parent 8658fb5f7c
commit 4f7b683eb0
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
// NETLINK_NO_ENOBUFS exists at least since android 2.3, but is not exposed
#if TORRENT_ANDROID && !defined NETLINK_NO_ENOBUFS
#if defined TORRENT_ANDROID && !defined NETLINK_NO_ENOBUFS
#define NETLINK_NO_ENOBUFS 5
#endif
#endif

View File

@ -93,7 +93,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <unistd.h>
#include <sys/types.h>
#if TORRENT_ANDROID && !defined IFA_F_DADFAILED
#if defined TORRENT_ANDROID && !defined IFA_F_DADFAILED
#define IFA_F_DADFAILED 8
#endif