define in_port_t for Android
This commit is contained in:
parent
3f189a24f2
commit
b6479e01f6
@ -8,3 +8,12 @@
|
||||
#else
|
||||
#include <win32netcompat.h>
|
||||
#endif
|
||||
|
||||
#ifndef LIBCRYPTOCOMPAT_NETINET_IN_H
|
||||
#define LIBCRYPTOCOMPAT_NETINET_IN_H
|
||||
|
||||
#ifdef __ANDROID__
|
||||
typedef uint16_t in_port_t;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user