diff options
Diffstat (limited to 'extern/libmv/third_party/glog/src/windows/config.h')
-rw-r--r-- | extern/libmv/third_party/glog/src/windows/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/libmv/third_party/glog/src/windows/config.h b/extern/libmv/third_party/glog/src/windows/config.h index 9fb3cc564d5..279eca478d5 100644 --- a/extern/libmv/third_party/glog/src/windows/config.h +++ b/extern/libmv/third_party/glog/src/windows/config.h @@ -12,6 +12,10 @@ /* Puts following code inside the Google namespace */ #define _START_GOOGLE_NAMESPACE_ namespace google { +#ifdef __MINGW32__ +# 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 |