diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-07 22:14:50 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-07 22:14:50 +0400 |
commit | ae06ebcd95a63f44501b4ee30e120162f53e940a (patch) | |
tree | 0d03b38dd2d248fa848fe2ad491598a155f26da6 /extern/libmv/third_party/glog/src/utilities.h | |
parent | f3407e7d60d8000d71c66192d760bd5700345b21 (diff) |
Hopefully compilation with MinGW will work again.
Tested with official MinGW and SCons, not sure how ti check it when using CMake.
Diffstat (limited to 'extern/libmv/third_party/glog/src/utilities.h')
-rw-r--r-- | extern/libmv/third_party/glog/src/utilities.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/libmv/third_party/glog/src/utilities.h b/extern/libmv/third_party/glog/src/utilities.h index 2d4e99e595e..5c841a0b90b 100644 --- a/extern/libmv/third_party/glog/src/utilities.h +++ b/extern/libmv/third_party/glog/src/utilities.h @@ -101,7 +101,9 @@ // correctly when GetStackTrace() is called with max_depth == 0. // Some code may do that. -#if defined(HAVE_LIB_UNWIND) +#if __MINGW32__ +# undef STACKTRACE_H +#elif defined(HAVE_LIB_UNWIND) # define STACKTRACE_H "stacktrace_libunwind-inl.h" #elif !defined(NO_FRAME_POINTER) # if defined(__i386__) && __GNUC__ >= 2 |