[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44211] trunk/blender/extern/libmv/ third_party/glog/src: glog should now compile fine at FreeBSD 9 platform

Sergey Sharybin sergey.vfx at gmail.com
Fri Feb 17 21:53:35 CET 2012


Revision: 44211
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44211
Author:   nazgul
Date:     2012-02-17 20:53:34 +0000 (Fri, 17 Feb 2012)
Log Message:
-----------
glog should now compile fine at FreeBSD 9 platform

Modified Paths:
--------------
    trunk/blender/extern/libmv/third_party/glog/src/config_freebsd.h
    trunk/blender/extern/libmv/third_party/glog/src/utilities.h

Modified: trunk/blender/extern/libmv/third_party/glog/src/config_freebsd.h
===================================================================
--- trunk/blender/extern/libmv/third_party/glog/src/config_freebsd.h	2012-02-17 20:51:39 UTC (rev 44210)
+++ trunk/blender/extern/libmv/third_party/glog/src/config_freebsd.h	2012-02-17 20:53:34 UTC (rev 44211)
@@ -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

Modified: trunk/blender/extern/libmv/third_party/glog/src/utilities.h
===================================================================
--- trunk/blender/extern/libmv/third_party/glog/src/utilities.h	2012-02-17 20:51:39 UTC (rev 44210)
+++ trunk/blender/extern/libmv/third_party/glog/src/utilities.h	2012-02-17 20:53:34 UTC (rev 44211)
@@ -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"




More information about the Bf-blender-cvs mailing list