glog should now compile fine at FreeBSD 9 platform
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 17 Feb 2012 20:53:34 +0000 (20:53 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 17 Feb 2012 20:53:34 +0000 (20:53 +0000)
extern/libmv/third_party/glog/src/config_freebsd.h
extern/libmv/third_party/glog/src/utilities.h

index caaef9d998b181946d2158a0410593bde6b3f73b..28fa1f1c78b85ffabafddd15d972b9e64f2bce70 100644 (file)
@@ -11,7 +11,7 @@
 #define HAVE_DLFCN_H 1
 
 /* Define to 1 if you have the <execinfo.h> header file. */
-#define HAVE_EXECINFO_H 1
+#undef HAVE_EXECINFO_H
 
 /* Define if you have the `fcntl' function */
 #define HAVE_FCNTL 1
index 5c841a0b90b35a9fc9b8a8de7675ed449d64a4ca..bbb0eb0746cd032f6a9a120816c29b24be76dec4 100644 (file)
 // correctly when GetStackTrace() is called with max_depth == 0.
 // Some code may do that.
 
-#if __MINGW32__
+#if defined(__MINGW32__) || defined(__FreeBSD__)
 # undef STACKTRACE_H
 #elif defined(HAVE_LIB_UNWIND)
 # define STACKTRACE_H "stacktrace_libunwind-inl.h"