diff options
author | unknown <lenz@mysql.com> | 2002-07-15 13:33:56 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2002-07-15 13:33:56 +0200 |
commit | f9232ee50342699ddc1e43909ab2fed09db13766 (patch) | |
tree | 6ea8f94adc277510ee95c6b505ea9aaeba4364d1 /sql | |
parent | 3814a0ff761cb486925beead1751af7a74fc7881 (diff) | |
download | mariadb-git-f9232ee50342699ddc1e43909ab2fed09db13766.tar.gz |
Added some patches provided by SuSE to fix build problems on
ppc64 and x86-64, fixed a compile bug when building with TCP wrapper
support on Linux
bdb/dist/acconfig.h:
Added patch for x86_64 (provided by SuSE)
bdb/dist/aclocal/mutex.m4:
Added patch for x86_64 (provided by SuSE)
bdb/include/mutex.h:
Added patch for x86_64 (provided by SuSE)
include/global.h:
Added a SMP-related patch for PPC64 (provided by SuSE)
sql/mysqld.cc:
Compile fix for Linux when compiling with --with-librwap
Diffstat (limited to 'sql')
-rw-r--r-- | sql/mysqld.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index a810219da15..251dda77d34 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -90,14 +90,14 @@ extern "C" { // Because of SCO 3.2V4.2 int allow_severity = LOG_INFO; int deny_severity = LOG_WARNING; -#ifdef __linux__ -#define my_fromhost(A) fromhost() -#define my_hosts_access(A) hosts_access() -#define my_eval_client(A) eval_client() -#else +#ifdef __STDC__ #define my_fromhost(A) fromhost(A) #define my_hosts_access(A) hosts_access(A) #define my_eval_client(A) eval_client(A) +#else +#define my_fromhost(A) fromhost() +#define my_hosts_access(A) hosts_access() +#define my_eval_client(A) eval_client() #endif #endif /* HAVE_LIBWRAP */ |