From bb2a29b3cbe7cdd29010a652b1aaf55ade2c1f28 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 19 Jun 2007 13:39:34 +0000 Subject: Work around to avoid dummy #defines... --- lib/SQL.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/SQL.cc b/lib/SQL.cc index 5f86380..4bfcdc0 100644 --- a/lib/SQL.cc +++ b/lib/SQL.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: SQL.cc,v 1.14 2007-06-14 14:12:20 pixel Exp $ */ +/* $Id: SQL.cc,v 1.15 2007-06-19 13:39:34 pixel Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -117,6 +117,10 @@ int SQLConnection::insertid() { return ii; } +#ifdef errno +#undef errno +#endif + int SQLConnection::errno() { return mysql_errno(con); } -- cgit v1.2.3