Skip to content

Commit 8c65f8a

Browse files
committed
fixup! Some changes to support mingw-w64
1 parent e009d79 commit 8c65f8a

File tree

1 file changed

+1
-1
lines changed
  • modules/core/include/opencv2/core

1 file changed

+1
-1
lines changed

modules/core/include/opencv2/core/base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ enum BorderTypes {
271271
# endif
272272
#endif
273273
#ifndef CV_StaticAssert
274-
# if defined(__GNUC__) && (__GNUC__*100 + __GNUC_MINOR__ > 302)
274+
# if !defined(__clang__) && defined(__GNUC__) && (__GNUC__*100 + __GNUC_MINOR__ > 302)
275275
# define CV_StaticAssert(condition, reason) ({ extern int __attribute__((error("CV_StaticAssert: " reason " " #condition))) CV_StaticAssert(); ((condition) ? 0 : CV_StaticAssert()); })
276276
# else
277277
template <bool x> struct CV_StaticAssert_failed;

0 commit comments

Comments
 (0)