projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed path of mysql/errmsg.h (OSX compilation fix)
[NeonServV5.git]
/
src
/
mysqlConn.h
diff --git
a/src/mysqlConn.h
b/src/mysqlConn.h
index 410f346fbf4ee164055c5bc4c53f7eb940e74e35..660e2cb32c2c74f8c5ef817d9af97f19f71dcc6d 100644
(file)
--- a/
src/mysqlConn.h
+++ b/
src/mysqlConn.h
@@
-1,4
+1,4
@@
-/* mysqlConn.h - NeonServ v5.
3
+/* mysqlConn.h - NeonServ v5.
6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-19,7
+19,11
@@
#include "main.h"
#include <mysql.h>
#include "main.h"
#include <mysql.h>
+#ifdef HAVE_MYSQL_ERRMSG_H
#include <mysql/errmsg.h>
#include <mysql/errmsg.h>
+#elif defined(HAVE_ERRMSG_H)
+#include <errmsg.h>
+#endif
#define MYSQLMAXLEN 1024
#define MYSQLMAXLEN 1024