From 897a21e6a34513e70af2dc452fa704643f91e796 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 22 Mar 2018 17:48:36 +0100 Subject: Glog: Restore some custom config for MSVC2015 --- extern/glog/src/windows/config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extern') diff --git a/extern/glog/src/windows/config.h b/extern/glog/src/windows/config.h index 2d23fb08159..1cc2533daa5 100644 --- a/extern/glog/src/windows/config.h +++ b/extern/glog/src/windows/config.h @@ -1,5 +1,8 @@ /* src/config.h.in. Generated from configure.ac by autoheader. */ +/* define if you have google gflags library */ +#define HAVE_LIB_GFLAGS 1 + /* Namespace for Google classes */ #define GOOGLE_NAMESPACE google @@ -9,6 +12,10 @@ /* Puts following code inside the Google namespace */ #define _START_GOOGLE_NAMESPACE_ namespace google { +#if defined(__MINGW32__) || (defined(_MSC_VER) && (_MSC_VER >= 1900)) +# define HAVE_SNPRINTF +#endif + /* Always the empty-string on non-windows systems. On windows, should be "__declspec(dllexport)". This way, when we compile the dll, we export our functions/classes. It's safe to define this here because config.h is only -- cgit v1.2.3