fixed ffopencv build with Mingw

This commit is contained in:
Vadim Pisarevsky 2010-09-02 14:01:04 +00:00
parent c2e2b196ca
commit 2154a0ce63

View File

@ -29,17 +29,9 @@
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef _MSC_VER // [
#error "Use this header only with Microsoft Visual C++ compilers!"
#endif // _MSC_VER ]
#ifndef _MSC_STDINT_H_ // [ #ifndef _MSC_STDINT_H_ // [
#define _MSC_STDINT_H_ #define _MSC_STDINT_H_
#if _MSC_VER > 1000
#pragma once
#endif
#include <limits.h> #include <limits.h>
// For Visual Studio 6 in C++ mode wrap <wchar.h> include with 'extern "C++" {}' // For Visual Studio 6 in C++ mode wrap <wchar.h> include with 'extern "C++" {}'
@ -53,7 +45,7 @@
} }
#endif #endif
#if _MSC_VER >= 1600 #if defined __GNUC__ || _MSC_VER >= 1600
#include "stdint.h" #include "stdint.h"
#else #else