diff options
author | unknown <lenz@mysql.com> | 2004-06-22 17:35:34 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2004-06-22 17:35:34 +0200 |
commit | e2e0eb3bc04623fb47cf13106750c72621f55a13 (patch) | |
tree | 3b890e31116fc3ed7d1a9ff2447cedf671a48d85 /vio/test-sslserver.c | |
parent | 073de02c1346430a4ef7df57cd2e7ca7e36c641e (diff) | |
download | mariadb-git-e2e0eb3bc04623fb47cf13106750c72621f55a13.tar.gz |
- Applied some portability fixes for SGI IRIX/MipsPro compiler
(e.g. a fix for BUG#3507 and some modifications recommended
by Andrea Suatoni and Joerg Behrens - thank you!)
acinclude.m4:
- OpenSSL libs are installed in /usr/freeware/include and
/usr/freeware/lib32 on SGI IRIX - expanded search list
man/mysqlaccess.1.in:
- cosmetical fix
man/mysqldump.1.in:
- cosmetical fix
mysys/hash.c:
- portability fix: some compilers can't handle inlining of rec_hashnr
(BUG#3507)
vio/test-sslserver.c:
- portability fix for SGI MipsPro compiler: define client_len as
"socklen_t" instead of "size_t"
Diffstat (limited to 'vio/test-sslserver.c')
-rw-r--r-- | vio/test-sslserver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vio/test-sslserver.c b/vio/test-sslserver.c index 71b194838c7..d05e50af16b 100644 --- a/vio/test-sslserver.c +++ b/vio/test-sslserver.c @@ -91,7 +91,12 @@ main(int argc __attribute__((unused)), char** argv) struct sockaddr_in sa_cli; int listen_sd; int err; + +#if defined(__sgi) && _NO_XOPEN4 && _NO_XOPEN5 + socklen_t client_len; +#else size_t client_len; +#endif int reuseaddr = 1; /* better testing, uh? */ MY_INIT(argv[0]); |