summaryrefslogtreecommitdiffstats
path: root/source/StringUtils.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-04 11:46:32 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-04 11:46:32 +0200
commita9d221b74bed83a2d73ab2c9b23780aada51c6df (patch)
tree77fea7b838863eed53d85b22852a5156e628d744 /source/StringUtils.cpp
parentLuaWindow: Fixed memory leaks with unclosed windows (diff)
downloadcuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.tar
cuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.tar.gz
cuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.tar.bz2
cuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.tar.lz
cuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.tar.xz
cuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.tar.zst
cuberite-a9d221b74bed83a2d73ab2c9b23780aada51c6df.zip
Diffstat (limited to 'source/StringUtils.cpp')
-rw-r--r--source/StringUtils.cpp6
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
+
+