1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Split raid C function to separate file to make things more portable.

Fixed some portability things in my_gethostbyname_r
Portability fix for type_decimal.test
This commit is contained in:
monty@hundin.mysql.fi
2002-05-27 10:02:00 +03:00
parent 747e8778c9
commit 07886933b8
7 changed files with 42 additions and 19 deletions

View File

@ -72,6 +72,12 @@ struct hostent *my_gethostbyname_r(const char *name,
#define GETHOSTBYNAME_BUFF_SIZE 2048
#endif
/* On SCO you get a link error when refering to h_errno */
#ifdef SCO
#undef h_errno
#define h_errno errno
#endif
#ifdef __cplusplus
}
#endif