From 2ab92b7bb191b10c5d4d807c4189c36b4876973c Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 20 Nov 2010 16:20:38 +0000 Subject: [PATCH] Fixing WIN32 define, which is removed with -std=c++0x. --- pokerth_db.pro | 1 + pokerth_game.pro | 1 + pokerth_lib.pro | 1 + pokerth_protocol.pro | 1 + pokerth_server.pro | 1 + 5 files changed, 5 insertions(+) diff --git a/pokerth_db.pro b/pokerth_db.pro index 48a09c15..6757b33a 100644 --- a/pokerth_db.pro +++ b/pokerth_db.pro @@ -42,6 +42,7 @@ SOURCES += \ win32{ DEFINES += CURL_STATICLIB + DEFINES += WIN32 DEFINES += _WIN32_WINNT=0x0501 DEPENDPATH += src/net/win32/ src/core/win32 INCLUDEPATH += ../boost/ ../GnuTLS/include ../curl/include ../zlib diff --git a/pokerth_game.pro b/pokerth_game.pro index 4d2f8867..2ec8f03a 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -295,6 +295,7 @@ TRANSLATIONS = ts/pokerth_af.ts \ ts/pokerth_START_HERE.ts win32 { DEFINES += CURL_STATICLIB + DEFINES += WIN32 DEFINES += _WIN32_WINNT=0x0501 DEPENDPATH += src/net/win32/ \ src/core/win32 diff --git a/pokerth_lib.pro b/pokerth_lib.pro index 2b4ebdb3..785d773f 100644 --- a/pokerth_lib.pro +++ b/pokerth_lib.pro @@ -225,6 +225,7 @@ official_server{ win32{ DEFINES += CURL_STATICLIB + DEFINES += WIN32 DEFINES += _WIN32_WINNT=0x0501 DEPENDPATH += src/net/win32/ src/core/win32 INCLUDEPATH += ../boost/ ../GnuTLS/include ../gsasl/include ../curl/include ../zlib ../openssl/include diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index ff55640e..fe90d568 100644 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -307,6 +307,7 @@ SOURCES += src/third_party/asn1/ChatCleanerMessage.c \ src/third_party/asn1/ChatRequestTypePrivate.c win32 { DEFINES += CURL_STATICLIB + DEFINES += WIN32 DEFINES += _WIN32_WINNT=0x0501 } mac { diff --git a/pokerth_server.pro b/pokerth_server.pro index c33bc5dd..6d717862 100644 --- a/pokerth_server.pro +++ b/pokerth_server.pro @@ -114,6 +114,7 @@ SOURCES += \ win32 { DEFINES += CURL_STATICLIB + DEFINES += WIN32 DEFINES += _WIN32_WINNT=0x0501 DEPENDPATH += src/net/win32/ src/core/win32 INCLUDEPATH += ../boost/ ../GnuTLS/include ../gsasl/include