aboutsummaryrefslogtreecommitdiff
path: root/src/FileStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileStream.cpp')
-rw-r--r--src/FileStream.cpp7
1 files changed, 2 insertions, 5 deletions
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