* due to the setup of headers in mingw 4.4.0, includes could mess up. Making sure that windows.h isn't included where it shouln't (outside of __cplusplus)
This commit is contained in:
@@ -24,6 +24,7 @@ http://www.gnu.org/copyleft/lesser.txt.
|
||||
|
||||
#ifdef WITH_FFMPEG
|
||||
extern "C" {
|
||||
#undef __cplusplus
|
||||
#include <pthread.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
@@ -32,6 +33,7 @@ extern "C" {
|
||||
#include "DNA_listBase.h"
|
||||
#include "BLI_threads.h"
|
||||
#include "BLI_blenlib.h"
|
||||
#define __cplusplus
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user