summaryrefslogtreecommitdiff
path: root/include/my_net.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-06-02 20:46:03 +0300
committermonty@hundin.mysql.fi <>2002-06-02 20:46:03 +0300
commit544f95c45112993df1d31d3eda859dd5e4efff89 (patch)
tree8de3d7e1875b8751450433ee53331ffb7322e7b5 /include/my_net.h
parent44a631f1fc75abc897d606eb4c75e9898bff7e54 (diff)
parent5f93b1e46ac09a45524acb9803b8cd7f951599ef (diff)
downloadmariadb-git-544f95c45112993df1d31d3eda859dd5e4efff89.tar.gz
merge with 3.23
Diffstat (limited to 'include/my_net.h')
-rw-r--r--include/my_net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_net.h b/include/my_net.h
index 77d5f3ac01f..2f5743923cf 100644
--- a/include/my_net.h
+++ b/include/my_net.h
@@ -84,7 +84,7 @@ struct hostent *my_gethostbyname_r(const char *name,
struct hostent *result, char *buffer,
int buflen, int *h_errnop);
#define my_gethostbyname_r_free()
-#if !defined(HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE)
+#if !defined(HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE) && !defined(HPUX)
#define GETHOSTBYNAME_BUFF_SIZE sizeof(struct hostent_data)
#endif /* !defined(HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE) */