mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 21:17:06 +00:00
select on FD > 1024 get this patch to ldns ppl
This commit is contained in:
1 parent
579927b53a
commit
710fc7a775
3 files changed
+67
-75
No files matched your search
@@ -148,6 +148,16 @@ extern ldns_lookup_table ldns_opcodes[];
|
||||
/** EDNS flags */
|
||||
extern ldns_lookup_table ldns_edns_flags[];
|
||||
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
#define SOCK_INVALID INVALID_SOCKET
|
||||
#define close_socket(_s) if (_s > SOCK_INVALID) {closesocket(_s); _s = SOCK_INVALID;}
|
||||
#else
|
||||
#define SOCK_INVALID -1
|
||||
#define close_socket(_s) if (_s > SOCK_INVALID) {close(_s); _s = SOCK_INVALID;}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user