diff --git a/3rdparty/include/msc_stdint.h b/3rdparty/include/msc_stdint.h index ceb96d9049..0c81356a85 100644 --- a/3rdparty/include/msc_stdint.h +++ b/3rdparty/include/msc_stdint.h @@ -29,17 +29,9 @@ // /////////////////////////////////////////////////////////////////////////////// -#ifndef _MSC_VER // [ -#error "Use this header only with Microsoft Visual C++ compilers!" -#endif // _MSC_VER ] - #ifndef _MSC_STDINT_H_ // [ #define _MSC_STDINT_H_ -#if _MSC_VER > 1000 -#pragma once -#endif - #include // For Visual Studio 6 in C++ mode wrap include with 'extern "C++" {}' @@ -53,7 +45,7 @@ } #endif -#if _MSC_VER >= 1600 +#if defined __GNUC__ || _MSC_VER >= 1600 #include "stdint.h" #else