summaryrefslogtreecommitdiffstats
path: root/source/cWebAdmin.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);