Fix build on 5.0-CURRENT.

Submitted by:	sobomax
This commit is contained in:
Dirk Froemberg 2002-11-10 17:11:59 +00:00
parent f0a1969d34
commit 7f49013883
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69810
9 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)

View File

@ -0,0 +1,11 @@
--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
+++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
@@ -92,7 +92,7 @@
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;
-#ifdef __STDC__
+#if defined(__STDC__) && !defined(__FreeBSD__)
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)