summaryrefslogtreecommitdiffstats
path: root/source/cHeartBeat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cHeartBeat.cpp')
-rw-r--r--source/cHeartBeat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/cHeartBeat.cpp b/source/cHeartBeat.cpp
index b518a753a..3661b9376 100644
--- a/source/cHeartBeat.cpp
+++ b/source/cHeartBeat.cpp
@@ -8,6 +8,10 @@
#include "cServer.h"
#include "cSleep.h"
+#ifndef _WIN32
+#define sprintf_s(dst, size, format, ...) sprintf(dst, format, __VA_ARGS__ )
+#endif
+
cHeartBeat::cHeartBeat()
{
m_State = 0;