summaryrefslogtreecommitdiffhomepage
path: root/compat/nan.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/nan.hpp')
-rw-r--r--compat/nan.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/nan.hpp b/compat/nan.hpp
index 0a2c900c..0361367b 100644
--- a/compat/nan.hpp
+++ b/compat/nan.hpp
@@ -3,9 +3,9 @@
#include "export.hpp"
#if defined(__GNUC__)
-extern "C" OTR_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double value);
+OTR_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double value);
#elif defined(_WIN32)
-extern "C" OTR_COMPAT_EXPORT __declspec(noinline) bool nanp(double value);
+OTR_COMPAT_EXPORT __declspec(noinline) bool nanp(double value);
#else
-extern "C" OTR_COMPAT_EXPORT bool nanp(double value);
+OTR_COMPAT_EXPORT bool nanp(double value);
#endif