Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
e1829e56
Commit
e1829e56
authored
May 12, 2020
by
Norby, Tom
Browse files
Use _snprintf for VS versions < 2015.
parent
e6450423
Pipeline
#101402
failed with stages
in 9 minutes and 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
radixgeo/coordinateconversion.cc
View file @
e1829e56
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment