diff options
Diffstat (limited to '')
-rw-r--r-- | source/StringUtils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/StringUtils.cpp b/source/StringUtils.cpp index 536281054..da809c5a4 100644 --- a/source/StringUtils.cpp +++ b/source/StringUtils.cpp @@ -9,6 +9,12 @@ #include <ctype.h> #endif +#ifdef _MSC_VER + // Under MSVC, link to WinSock2 (needed by RawBEToUTF8's byteswapping) + #pragma comment(lib, "ws2_32.lib") +#endif + + |