From 0df607e5ddc846fb39df58124f4772786f9dce43 Mon Sep 17 00:00:00 2001 From: Sayed Adel Date: Thu, 21 Mar 2019 11:19:15 +0200 Subject: [PATCH] cmake:vsx Fix compilation fail on aligned runtime test when c++11 enabled --- cmake/checks/runtime/cpu_vsx_aligned.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/checks/runtime/cpu_vsx_aligned.cpp b/cmake/checks/runtime/cpu_vsx_aligned.cpp index a8daa63189..90dea65881 100644 --- a/cmake/checks/runtime/cpu_vsx_aligned.cpp +++ b/cmake/checks/runtime/cpu_vsx_aligned.cpp @@ -2,6 +2,7 @@ // https://github.com/opencv/opencv/issues/13211 #include +#undef bool #define vsx_ld vec_vsx_ld #define vsx_st vec_vsx_st