mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Some minor fixes for Netware. These were required after we started building
against a later version of libc. include/config-netware.h: Changes for Netware. Needed to build against newer libc. netware/BUILD/nwbootstrap: Fix to build script. sql/mysqld.cc: Added an include.
This commit is contained in:
@ -50,6 +50,18 @@ extern "C" {
|
||||
#define HAVE_PTHREAD_YIELD_ZERO_ARG 1
|
||||
#define HAVE_BROKEN_REALPATH 1
|
||||
|
||||
/*required adjustments with LibC-June-2004 */
|
||||
#undef HAVE_POSIX_SIGNALS
|
||||
#undef HAVE_PTHREAD_ATTR_SETSCOPE
|
||||
#undef HAVE_ALLOCA_H
|
||||
#undef HAVE_FINITE
|
||||
#undef HAVE_GETPWNAM
|
||||
#undef HAVE_GETPWUID
|
||||
#undef HAVE_PTHREAD_SETSCHEDPARAM
|
||||
#undef HAVE_READLINK
|
||||
#undef HAVE_STPCPY
|
||||
/*required adjustments with LibC-June-2004 */
|
||||
|
||||
/* no libc crypt() function */
|
||||
#ifdef HAVE_OPENSSL
|
||||
#define HAVE_CRYPT 1
|
||||
|
@ -171,15 +171,9 @@ do
|
||||
rm $file.org
|
||||
done
|
||||
|
||||
# create the libmysql.imp file in netware folder from libmysql/libmysql.def
|
||||
# file
|
||||
echo "generating llibmysql.imp file..."
|
||||
awk 'BEGIN{x=0;} x==1 {print $1;next} /EXPORTS/{x=1}' libmysql/libmysql.def > netware/libmysql.imp
|
||||
|
||||
# create the libmysql.imp file in netware folder from libmysql/libmysql.def file
|
||||
echo "generating llibmysql.imp file..."
|
||||
awk 'BEGIN{x=0;} x==1 {print $1;next} /EXPORTS/{x=1}' libmysql/libmysql.def > netware/libmysql.imp
|
||||
|
||||
awk 'BEGIN{x=0;} END{printf("\n");} x==1 {printf(" %s",$1); x++; next} x>1 {printf(",\n %s", $1);next} /EXPORTS/{x=1}' libmysql/libmysql.def > netware/libmysql.imp
|
||||
|
||||
# build linux tools
|
||||
echo "compiling linux tools..."
|
||||
|
@ -114,6 +114,7 @@ int deny_severity = LOG_WARNING;
|
||||
#endif
|
||||
|
||||
#ifdef __NETWARE__
|
||||
#include <nks/netware.h>
|
||||
#include <nks/vm.h>
|
||||
#include <library.h>
|
||||
#include <monitor.h>
|
||||
|
Reference in New Issue
Block a user