summaryrefslogtreecommitdiffhomepage
path: root/compat/nan.hpp
blob: 0361367baa61327b4bc546a892f6f4f507472758 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "export.hpp"

#if defined(__GNUC__)
OTR_COMPAT_EXPORT bool __attribute__ ((noinline)) nanp(double value);
#elif defined(_WIN32)
OTR_COMPAT_EXPORT __declspec(noinline) bool nanp(double value);
#else
OTR_COMPAT_EXPORT bool nanp(double value);
#endif