1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Improve the patch (this should work on 4.X, too).

This commit is contained in:
Alex Dupre 2004-06-02 07:24:45 +00:00
parent cb20ce830b
commit 9ae92de6d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110647

View File

@ -1,11 +1,11 @@
--- client/mysql.cc.orig Mon May 31 18:16:27 2004
+++ client/mysql.cc Mon May 31 18:24:35 2004
--- client/mysql.cc.orig Wed Jun 2 09:11:24 2004
+++ client/mysql.cc Wed Jun 2 09:13:19 2004
@@ -294,7 +294,7 @@
HIST_ENTRY is defined for libedit, but not for the real readline
Need to redefine it for real readline to find it
*/
-#if !defined(USE_LIBEDIT_INTERFACE)
+#if defined(USE_LIBEDIT_INTERFACE)
+#if !defined(HIST_ENTRY)
typedef struct _hist_entry {
const char *line;
const char *data;