Commit e1829e56 authored by Norby, Tom's avatar Norby, Tom

Use _snprintf for VS versions < 2015.

parent e6450423
Pipeline #101402 failed with stages
in 9 minutes and 30 seconds
......@@ -2,11 +2,13 @@
#include "radixgeo/coordinateconversion.hh"
#include "radixmath/constants.hh"
#include <stdio.h>
#include <algorithm>
// forward declaration of stdio.h function
int snprintf(char* buf, size_t size, const char* fmt, ...);
#ifdef _WIN32
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#endif
namespace radix
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment