- 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!)
This commit is contained in:
lenz@mysql.com 2004-06-22 17:35:34 +02:00
commit 4740e8b2b7
5 changed files with 11 additions and 6 deletions

View file

@ -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]);