diff options
Diffstat (limited to 'compat/nan.cpp')
-rw-r--r-- | compat/nan.cpp | 6 |
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); |