summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorunknown <petr@mysql.com>2004-12-18 03:21:20 +0300
committerunknown <petr@mysql.com>2004-12-18 03:21:20 +0300
commit59b24f9f39ab0538da3b026ecfcba8bdcc0276fe (patch)
tree8534c659fc49cd07781b03d887a9d5bd7e175b7b /sql-common
parentd9f5d2f328f70c7fdc823bb704f7e02bb1d25266 (diff)
downloadmariadb-git-59b24f9f39ab0538da3b026ecfcba8bdcc0276fe.tar.gz
BUG#7384 IM fails to compile on Solaris.
Solaris doesn't define INADDR_NONE macro. This resulted in compilation failure. (advanced fix) include/my_net.h: Added INADDR_NONE define sql-common/client.c: removed INADDR_NONE define as it is moved to my_net.h sql/mysqld.cc: add my_net.h define and remove INADDR_NONE
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index fd65ed01462..8b61589023f 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -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