Commit e7ab9d0c authored by Pavel Vainerman's avatar Pavel Vainerman

Добавил небольшой "хак" для компиляции в сиситемах (5.0, 5.1) в которых,

почему-то не определяется PACKAGE_URL.
parent 84763442
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include "MBSlave.h" #include "MBSlave.h"
#include "uniset-config.h" #include "uniset-config.h"
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
#ifndef PACKAGE_URL
#define PACKAGE_URL "http://git.etersoft.ru/projects/?p=asu/uniset.git;a=summary"
#endif
// -------------------------------------------------------------------------
using namespace std; using namespace std;
using namespace UniSetTypes; using namespace UniSetTypes;
using namespace ModbusRTU; using namespace ModbusRTU;
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include "MBTCPServer.h" #include "MBTCPServer.h"
#include "uniset-config.h" #include "uniset-config.h"
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
#ifndef PACKAGE_URL
#define PACKAGE_URL "http://git.etersoft.ru/projects/?p=asu/uniset.git;a=summary"
#endif
// -------------------------------------------------------------------------
using namespace std; using namespace std;
using namespace UniSetTypes; using namespace UniSetTypes;
using namespace ModbusRTU; using namespace ModbusRTU;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment