summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-01 16:52:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-01 16:52:21 +0000
commit0c22834719799f80eaec3026621e4076f793ec37 (patch)
tree57dfa7ccf6c10e33660d41371c09d616bd18a160 /src/modules/extra/m_mysql.cpp
parentf3abcf2bcfe36d3389b74caa9eef8582901fbe15 (diff)
#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
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp4
1 files changed, 3 insertions, 1 deletions
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 <mysql.h>
#include <pthread.h>
@@ -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!
*