diff --git a/modules/core/include/opencv2/core/fast_math.hpp b/modules/core/include/opencv2/core/fast_math.hpp index c76936afe4..92c2f350a8 100644 --- a/modules/core/include/opencv2/core/fast_math.hpp +++ b/modules/core/include/opencv2/core/fast_math.hpp @@ -54,12 +54,14 @@ * fast math * \****************************************************************************************/ -#if defined __BORLANDC__ -# include -#elif defined __cplusplus +#ifdef __cplusplus # include #else -# include +# ifdef __BORLANDC__ +# include +# else +# include +# endif #endif #ifdef HAVE_TEGRA_OPTIMIZATION