summaryrefslogtreecommitdiffhomepage
path: root/compat/nan.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-03 14:31:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-03 14:35:57 +0100
commit3a987e9ae9aa72f361bb7a549102cb66c5abd268 (patch)
tree79b7c7a8cdd6acda02bc9080a42106b2875871b8 /compat/nan.hpp
parentc012e1ed0751cd549033aac6cf5507ecf2b5d754 (diff)
compat/nan: remove pointless extern "C"
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