Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fix issue opencv#8280: "fastmath.h related compile errors with Embarcadero C++ Builder 10.1"
  • Loading branch information
ville-v authored Mar 1, 2017
1 parent 7878404 commit 1de10f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions modules/core/include/opencv2/core/fast_math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@
* fast math *
\****************************************************************************************/

#if defined __BORLANDC__
# include <fastmath.h>
#elif defined __cplusplus
#ifdef __cplusplus
# include <cmath>
#else
# include <math.h>
# ifdef __BORLANDC__
# include <fastmath.h>
# else
# include <math.h>
# endif
#endif

#ifdef HAVE_TEGRA_OPTIMIZATION
Expand Down

0 comments on commit 1de10f9

Please sign in to comment.