Adding <my_glob.h> introduces the macro max with #define max on Linux.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-12 11:51:13 +01:00
parent c878878b48
commit eda8a13b96

View File

@ -27,10 +27,14 @@
#include "Poco/Data/MySQL/Connector.h"
#include "Poco/Data/MySQL/MySQLException.h"
#include <my_global.h>
#include <mysql.h>
#include <iostream>
#include <limits>
#ifdef max
#undef max
#endif
using namespace Poco::Data;
using namespace Poco::Data::Keywords;