Commit ac8155cc authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Portability fixes

parent 14e07aab
...@@ -211,6 +211,11 @@ ...@@ -211,6 +211,11 @@
#ifdef DONT_USE_FINITE /* HPUX 11.x has is_finite() */ #ifdef DONT_USE_FINITE /* HPUX 11.x has is_finite() */
#undef HAVE_FINITE #undef HAVE_FINITE
#endif #endif
#if defined(HPUX) && defined(_LARGEFILE64_SOURCE) && defined(THREAD)
/* Fix bug in setrlimit */
#undef setrlimit
#define setrlimit cma_setrlimit64
#endif
/* We can not live without these */ /* We can not live without these */
......
...@@ -377,6 +377,7 @@ static void get_options(int argc,char **argv); ...@@ -377,6 +377,7 @@ static void get_options(int argc,char **argv);
static char *get_relative_path(const char *path); static char *get_relative_path(const char *path);
static void fix_paths(void); static void fix_paths(void);
static pthread_handler_decl(handle_connections_sockets,arg); static pthread_handler_decl(handle_connections_sockets,arg);
static pthread_handler_decl(kill_server_thread,arg);
static int bootstrap(FILE *file); static int bootstrap(FILE *file);
static bool read_init_file(char *file_name); static bool read_init_file(char *file_name);
#ifdef __NT__ #ifdef __NT__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment