Support GCC 8.x and support static compile

This commit is contained in:
Nick Peng
2019-06-16 17:17:48 +08:00
parent a09e63d333
commit 3ef325d75d
15 changed files with 124 additions and 64 deletions

View File

@@ -4,6 +4,7 @@
#define SMART_DNS_UTIL_H
#include <netdb.h>
#include "stringutil.h"
#define PORT_NOT_DEFINED -1
#define MAX_IP_LEN 64