Commit 1de10f9f authored by ville-v's avatar ville-v Committed by GitHub

Add files via upload

Fix issue #8280: "fastmath.h related compile errors with Embarcadero C++ Builder 10.1"
parent 78784040
...@@ -54,12 +54,14 @@ ...@@ -54,12 +54,14 @@
* fast math * * fast math *
\****************************************************************************************/ \****************************************************************************************/
#if defined __BORLANDC__ #ifdef __cplusplus
# include <fastmath.h>
#elif defined __cplusplus
# include <cmath> # include <cmath>
#else #else
# include <math.h> # ifdef __BORLANDC__
# include <fastmath.h>
# else
# include <math.h>
# endif
#endif #endif
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment