From c50f26d40238d66a01e8c26ddde1f839579e3814 Mon Sep 17 00:00:00 2001 From: sakkaba Date: Tue, 7 Jan 2014 16:30:21 +0400 Subject: [PATCH] Fix syntax error --- noblecoin-qt.pro | 16 +++------------- src/net.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/noblecoin-qt.pro b/noblecoin-qt.pro index 07c46d0..a6d1e35 100644 --- a/noblecoin-qt.pro +++ b/noblecoin-qt.pro @@ -1,4 +1,3 @@ - TEMPLATE = app TARGET = VERSION = 0.6.3 @@ -6,22 +5,13 @@ INCLUDEPATH += src src/json src/qt DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE USE_IPV6 CONFIG += no_include_pwd -# for boost 1.37, add -mt to the boost libraries -# use: qmake BOOST_LIB_SUFFIX=-mt -# for boost thread win32 with _win32 sufix -# use: BOOST_THREAD_LIB_SUFFIX=_win32-... -# or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8 - -# Dependency library locations can be customized with: -# BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH, -# BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively - windows:LIBS += -lshlwapi LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,) LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX windows:LIBS += -lws2_32 -lole32 -loleaut32 -luuid -lgdi32 -LIBS += -lboost_system-mgw46-mt-1_54 -lboost_filesystem-mgw46-mt-1_54 -lboost_program_options-mgw46-mt-1_54 -lboost_thread-mgw46-mt-1_54 -BOOST_LIB_SUFFIX=-mgw46-mt-1_54 +#LIBS += -lboost_system-mgw46-mt-1_54 -lboost_filesystem-mgw46-mt-1_54 -lboost_program_options-mgw46-mt-1_54 -lboost_thread-mgw46-mt-1_54 +#BOOST_LIB_SUFFIX=-mgw46-mt-1_54 +LIBS += -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread BOOST_INCLUDE_PATH=C:/NobleCoin+/libs/boost_1_54_0 BOOST_LIB_PATH=C:/NobleCoin+/libs/boost_1_54_0/stage/lib BDB_INCLUDE_PATH=c:/NobleCoin+/libs/db-4.8.30.NC/build_windows diff --git a/src/net.cpp b/src/net.cpp index 0afb65e..7068886 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -18,10 +18,10 @@ #endif #ifdef USE_UPNP -#include -#include -#include -#include +#include +#include +#include +#include #endif using namespace std;