* 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:
Nathan Letwory
2009-10-02 15:51:25 +00:00
parent 9ac8a1368f
commit ca54ea078e

View File

@@ -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
}