summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-28 17:11:37 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-28 17:11:37 +0100
commit1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134 (patch)
treecf5db7d3893dcbd6fc137727c082ad6603fdbd11
parentOld Core plugin is deprecated! Begone! (diff)
downloadcuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.tar
cuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.tar.gz
cuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.tar.bz2
cuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.tar.lz
cuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.tar.xz
cuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.tar.zst
cuberite-1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134.zip
-rw-r--r--source/cWebAdmin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cWebAdmin.cpp b/source/cWebAdmin.cpp
index ec4894aef..6f9546304 100644
--- a/source/cWebAdmin.cpp
+++ b/source/cWebAdmin.cpp
@@ -23,6 +23,7 @@
#include <psapi.h>
#else
#include <sys/resource.h>
+#define sprintf_s(dst, size, format, ...) sprintf(dst, format, __VA_ARGS__ )
#endif
extern std::vector<std::string> StringSplit(std::string str, std::string delim);