aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 17:53:05 -0800
committerChris Robinson <[email protected]>2018-11-15 17:53:05 -0800
commit7c933087718bd1b789f2638164bcf2f8698647cb (patch)
treeff51bb8d94d00f3ef168f63ede2ab85e3224dd47 /OpenAL32
parentdc622b3182694793d0189acf402bda6bafdf589a (diff)
Remove checks for functions that always exist
They're part of C++11 and available on the testing systems. If some system has trouble, switching to proper C++ calls should fix it.
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 53831ccf..a79b6962 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -281,7 +281,7 @@ inline ALint fastf2i(ALfloat f)
* libc call, while MSVC's implementation is horribly slow, so always fall
* back to a normal integer conversion for them.
*/
-#elif defined(HAVE_LRINTF) && !defined(_MSC_VER) && !defined(__clang__)
+#elif !defined(_MSC_VER) && !defined(__clang__)
return lrintf(f);