From 67b529e173167c5d2702dda21d5bf00a89f0a6f6 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 3 May 2014 08:31:29 -0400 Subject: [PATCH] gcc 4.8.1 support on Winx64 (issue 2120 comment 7) --- rtgui/multilangmgr.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rtgui/multilangmgr.cc b/rtgui/multilangmgr.cc index 6ccbc8563..de0f3f2ee 100755 --- a/rtgui/multilangmgr.cc +++ b/rtgui/multilangmgr.cc @@ -22,10 +22,12 @@ #include "../rtengine/safegtk.h" #ifdef WIN32 // Desired auto detect function is Vista+ -#define _WIN32_WINNT 0x0600 +//#define _WIN32_WINNT 0x0600 // switching to WINVER for gcc 4.8.1 support on Winx64 +#define WINVER 0x0600 #include #include -#undef _WIN32_WINNT +#undef WINVER +//#undef _WIN32_WINNT #endif MultiLangMgr langMgr;