mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
- 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:
parent
6adefe41a4
commit
4740e8b2b7
5 changed files with 11 additions and 6 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue