fix if defined TORRENT_ANDROID
Fix malformed TORRENT_ANDROID macroprocessor tests, related to #2831
This commit is contained in:
parent
8658fb5f7c
commit
4f7b683eb0
|
@ -70,7 +70,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// NETLINK_NO_ENOBUFS exists at least since android 2.3, but is not exposed
|
// 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
|
#define NETLINK_NO_ENOBUFS 5
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -93,7 +93,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.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
|
#define IFA_F_DADFAILED 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue