From 0c22834719799f80eaec3026621e4076f793ec37 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 1 May 2008 16:52:21 +0000 Subject: #define NO_CLIENT_LONG_LONG, makes mysql.h ANSI C++ compliant so that we can get rid of $NoPedantic. Test compiles ok. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9597 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 1b2a43826..be6f4bc4c 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -11,6 +11,9 @@ * --------------------------------------------------- */ +/* Stop mysql wanting to use long long */ +#define NO_CLIENT_LONG_LONG + #include "inspircd.h" #include #include @@ -25,7 +28,6 @@ /* $CompileFlags: exec("mysql_config --include") */ /* $LinkerFlags: exec("mysql_config --libs_r") rpath("mysql_config --libs_r") */ /* $ModDep: m_sqlv2.h */ -/* $NoPedantic */ /* THE NONBLOCKING MYSQL API! * -- cgit v1.2.3