summaryrefslogtreecommitdiffhomepage
path: root/compat/nan.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-28 11:00:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-03-28 11:08:56 +0200
commit7337f89f4d69cc0e5fe3a72f9f6773ecf9b24cc5 (patch)
treed24194237167fa7a1e5303b78c8bc2b2017475b7 /compat/nan.cpp
parent783739a2f3599e00869f907ed1747491b35486b1 (diff)
start renaming internal macros as OPENTRACK_* to OTR_*
Diffstat (limited to 'compat/nan.cpp')
-rw-r--r--compat/nan.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/nan.cpp b/compat/nan.cpp
index 4b99fff3..9c7bf147 100644
--- a/compat/nan.cpp
+++ b/compat/nan.cpp
@@ -4,7 +4,7 @@
# include <cmath>
# define my_isnan std::isnan
# define my_isinf std::isinf
-extern "C" OPENTRACK_COMPAT_EXPORT __declspec(noinline) bool nanp(double x)
+extern "C" OTR_COMPAT_EXPORT __declspec(noinline) bool nanp(double x)
#elif defined __MINGW32__
int __cdecl my_isnan(double)__asm__("__isnan");
@@ -18,12 +18,12 @@ int __cdecl my_fpclassify(double)__asm__("___fpclassify");
#define my_isinf(x) (my_fpclassify(x) == FP_INFINITE)
-extern "C" OPENTRACK_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double x)
+extern "C" OTR_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double x)
#else
int my_isnan(double)__asm__("isnan");
int my_isinf(double)__asm__("isinf");
-extern "C" OPENTRACK_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double x)
+extern "C" OTR_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double x)
#endif
{
return my_isnan(x) || my_isinf(x);