From 43033709ea78369d0fe86d1a014e0743ce8bd33b Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Tue, 2 Apr 2013 14:17:41 +0200 Subject: + Fixed build errors --- src/FileStream.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/FileStream.cpp b/src/FileStream.cpp index fdeb9dc..4310924 100644 --- a/src/FileStream.cpp +++ b/src/FileStream.cpp @@ -19,7 +19,8 @@ #include "FileStream.h" #ifdef _MSC_VER -#pragma comment(lib, "wininet.lib") +#pragma comment(lib, "wininet.lib") // Internet functions for HTTP stream +#pragma warning(disable: 4800) // 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) #endif //----------------------------------------------------------------------------- @@ -29,10 +30,6 @@ #define INVALID_HANDLE_VALUE ((HANDLE)-1) #endif -#ifdef _MSC_VER -#pragma warning(disable: 4800) // 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) -#endif - //----------------------------------------------------------------------------- // Local functions - platform-specific functions -- cgit v1.2.3