Commit 363097e9 authored by Philipp Hasper's avatar Philipp Hasper

sfm: Fixed build for MSVC: snprintf only in VS2015 and above

parent 204db719
......@@ -23,6 +23,11 @@
#include <glog/logging.h>
#if defined _MSC_VER && _MSC_VER < 1900
# define snprintf _snprintf
#endif
#define LG LOG(INFO)
#define V0 LOG(INFO)
#define V1 LOG(INFO)
......
......@@ -30,10 +30,6 @@
#include "libmv/simple_pipeline/tracks.h"
#include "libmv/simple_pipeline/camera_intrinsics.h"
#ifdef _MSC_VER
# define snprintf _snprintf
#endif
namespace libmv {
namespace {
......
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