mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
improve portability, defining MAXDNAME and MAXCDNAME
This commit is contained in:
parent
c145fbea49
commit
d243908a01
@ -149,6 +149,11 @@ typedef enum __ns_opcode {
|
||||
|
||||
#define T_CNAME ns_t_cname
|
||||
|
||||
#define NS_MAXDNAME 256 /* maximum domain name */
|
||||
#define MAXDNAME NS_MAXDNAME
|
||||
|
||||
#define NS_MAXCDNAME 255 /* maximum compressed domain name */
|
||||
#define MAXCDNAME NS_MAXCDNAME
|
||||
|
||||
#define NS_PACKETSZ 512 /* maximum packet size */
|
||||
#define PACKETSZ NS_PACKETSZ
|
||||
|
Loading…
Reference in New Issue
Block a user