diff options
author | monty@hundin.mysql.fi <> | 2002-05-31 15:22:38 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-05-31 15:22:38 +0300 |
commit | e2a116411e7b293b5d0d920c8a94794dd75dd334 (patch) | |
tree | 85c51f351e6086eebde739636a64e7ab09b85277 /include/my_net.h | |
parent | a2ec51cec16205154aa2c7f5ecf6ec3c98a978e8 (diff) | |
download | mariadb-git-e2a116411e7b293b5d0d920c8a94794dd75dd334.tar.gz |
Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
Diffstat (limited to 'include/my_net.h')
-rw-r--r-- | include/my_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_net.h b/include/my_net.h index 6a6e2aecc27..a4910d8af1d 100644 --- a/include/my_net.h +++ b/include/my_net.h @@ -53,7 +53,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) */ |