Revision: 44826
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44826
Author:   nazgul
Date:     2012-03-12 08:46:53 +0000 (Mon, 12 Mar 2012)
Log Message:
-----------
Commit patch from Shane Ambler to make VideoTexture compile with a clang on 
FreeBSD.
Thanks!

Modified Paths:
--------------
    trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h

Modified: trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h  2012-03-12 
08:45:06 UTC (rev 44825)
+++ trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.h  2012-03-12 
08:46:53 UTC (rev 44826)
@@ -28,6 +28,10 @@
 #define __VIDEOFFMPEG_H__
 
 #ifdef WITH_FFMPEG
+#if defined(__FreeBSD__)
+/* this needs to be parsed with __cplusplus defined before included through 
ffmpeg_compat.h */
+#include <inttypes.h>
+#endif
 extern "C" {
 #undef __cplusplus
 #include <pthread.h>

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to