From 0b0acf7336e7170d393098a976538d6538fabdce Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Mon, 10 Nov 2014 21:38:02 +0100 Subject: [PATCH] Use the non-standard _snprintf() function for msvc. --- src/suunto_eonsteel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/suunto_eonsteel.c b/src/suunto_eonsteel.c index 3b922aa..f17c9fb 100644 --- a/src/suunto_eonsteel.c +++ b/src/suunto_eonsteel.c @@ -33,6 +33,10 @@ #include "device-private.h" #include "array.h" +#ifdef _MSC_VER +#define snprintf _snprintf +#endif + #ifdef HAVE_LIBUSB #ifdef _WIN32