Commit 2154a0ce authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed ffopencv build with Mingw

parent c2e2b196
...@@ -29,17 +29,9 @@ ...@@ -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 @@ ...@@ -53,7 +45,7 @@
} }
#endif #endif
#if _MSC_VER >= 1600 #if defined __GNUC__ || _MSC_VER >= 1600
#include "stdint.h" #include "stdint.h"
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment