From 1b13cc9e43bdc41e0ce3b0eaf95af3d174b4c134 Mon Sep 17 00:00:00 2001 From: faketruth Date: Sat, 28 Jan 2012 16:11:37 +0000 Subject: Now also compiles in Linux git-svn-id: http://mc-server.googlecode.com/svn/trunk@184 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWebAdmin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source') 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 #else #include +#define sprintf_s(dst, size, format, ...) sprintf(dst, format, __VA_ARGS__ ) #endif extern std::vector StringSplit(std::string str, std::string delim); -- cgit v1.2.3