Loading include/my_net.h +5 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,11 @@ C_MODE_START #define in_addr_t uint32 #endif /* On some operating systems (e.g. Solaris) INADDR_NONE is not defined */ #ifndef INADDR_NONE #define INADDR_NONE -1 /* Error value from inet_addr */ #endif /* Thread safe or portable version of some functions */ void my_inet_ntoa(struct in_addr in, char *buf); Loading sql-common/client.c +0 −3 Original line number Diff line number Diff line Loading @@ -98,9 +98,6 @@ my_bool net_flush(NET *net); # include <sys/un.h> #endif #ifndef INADDR_NONE #define INADDR_NONE -1 #endif #if defined(MSDOS) || defined(__WIN__) #define perror(A) #else Loading sql/mysqld.cc +1 −4 Original line number Diff line number Diff line Loading @@ -78,10 +78,6 @@ #define IF_PURIFY(A,B) (B) #endif #ifndef INADDR_NONE #define INADDR_NONE -1 // Error value from inet_addr #endif /* stack traces are only supported on linux intel */ #if defined(__linux__) && defined(__i386__) && defined(USE_PSTACK) #define HAVE_STACK_TRACE_ON_SEGV Loading Loading @@ -111,6 +107,7 @@ extern "C" { // Because of SCO 3.2V4.2 #ifdef HAVE_GRP_H #include <grp.h> #endif #include <my_net.h> #if defined(OS2) # include <sys/un.h> Loading Loading
include/my_net.h +5 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,11 @@ C_MODE_START #define in_addr_t uint32 #endif /* On some operating systems (e.g. Solaris) INADDR_NONE is not defined */ #ifndef INADDR_NONE #define INADDR_NONE -1 /* Error value from inet_addr */ #endif /* Thread safe or portable version of some functions */ void my_inet_ntoa(struct in_addr in, char *buf); Loading
sql-common/client.c +0 −3 Original line number Diff line number Diff line Loading @@ -98,9 +98,6 @@ my_bool net_flush(NET *net); # include <sys/un.h> #endif #ifndef INADDR_NONE #define INADDR_NONE -1 #endif #if defined(MSDOS) || defined(__WIN__) #define perror(A) #else Loading
sql/mysqld.cc +1 −4 Original line number Diff line number Diff line Loading @@ -78,10 +78,6 @@ #define IF_PURIFY(A,B) (B) #endif #ifndef INADDR_NONE #define INADDR_NONE -1 // Error value from inet_addr #endif /* stack traces are only supported on linux intel */ #if defined(__linux__) && defined(__i386__) && defined(USE_PSTACK) #define HAVE_STACK_TRACE_ON_SEGV Loading Loading @@ -111,6 +107,7 @@ extern "C" { // Because of SCO 3.2V4.2 #ifdef HAVE_GRP_H #include <grp.h> #endif #include <my_net.h> #if defined(OS2) # include <sys/un.h> Loading