Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
Thanks!
This commit is contained in:
@@ -28,6 +28,10 @@ http://www.gnu.org/copyleft/lesser.txt.
|
|||||||
#define __VIDEOFFMPEG_H__
|
#define __VIDEOFFMPEG_H__
|
||||||
|
|
||||||
#ifdef WITH_FFMPEG
|
#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" {
|
extern "C" {
|
||||||
#undef __cplusplus
|
#undef __cplusplus
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
Reference in New Issue
Block a user