mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-11 17:37:53 +00:00
fixes for i2pd_qt MSYS2 mingw32
This commit is contained in:
parent
c0436297c2
commit
e80da3cbeb
@ -1,6 +1,11 @@
|
|||||||
#ifndef ROUTER_CONTEXT_H__
|
#ifndef ROUTER_CONTEXT_H__
|
||||||
#define ROUTER_CONTEXT_H__
|
#define ROUTER_CONTEXT_H__
|
||||||
|
|
||||||
|
// i2pd_qt.pro defines this on Windows
|
||||||
|
#ifdef WINDOWS
|
||||||
|
#include <Winsock2.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
#ifndef ROUTER_INFO_H__
|
#ifndef ROUTER_INFO_H__
|
||||||
#define ROUTER_INFO_H__
|
#define ROUTER_INFO_H__
|
||||||
|
|
||||||
|
// i2pd_qt.pro defines this on Windows
|
||||||
|
#ifdef WINDOWS
|
||||||
|
#include <Winsock2.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
@ -268,8 +268,14 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
linux:!android {
|
linux:!android {
|
||||||
message("Using Linux settings")
|
message("Using Linux settings")
|
||||||
LIBS += -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lminiupnpc
|
LIBS += -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lminiupnpc
|
||||||
|
}
|
||||||
|
|
||||||
|
windows:!android {
|
||||||
|
message("Using Windows settings")
|
||||||
|
DEFINES += BOOST_USE_WINDOWS_H WINDOWS
|
||||||
|
LIBS += -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lminiupnpc
|
||||||
}
|
}
|
||||||
|
|
||||||
!android:!symbian:!maemo5:!simulator {
|
!android:!symbian:!maemo5:!simulator {
|
||||||
|
Loading…
Reference in New Issue
Block a user