glog should now compile fine at FreeBSD 9 platform

This commit is contained in:
Sergey Sharybin
2012-02-17 20:53:34 +00:00
parent 9def83f7e0
commit 0aa9ab69cc
2 changed files with 2 additions and 2 deletions

View 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

View File

@@ -101,7 +101,7 @@
// 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"