aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--OpenAL32/Include/alMain.h3
-rw-r--r--config.h.in3
3 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06da6950..7800b8a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -196,6 +196,7 @@ CHECK_C_SOURCE_COMPILES("int foo(const char *str, ...) __attribute__((format(pri
CHECK_INCLUDE_FILE(fenv.h HAVE_FENV_H)
CHECK_INCLUDE_FILE(float.h HAVE_FLOAT_H)
+CHECK_INCLUDE_FILE(ieeefp.h HAVE_IEEEFP_H)
CHECK_INCLUDE_FILE(guiddef.h HAVE_GUIDDEF_H)
IF(NOT HAVE_GUIDDEF_H)
CHECK_INCLUDE_FILE(initguid.h HAVE_INITGUID_H)
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 73b314fe..ad357536 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -8,6 +8,9 @@
#ifdef HAVE_FENV_H
#include <fenv.h>
#endif
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
#include "AL/al.h"
#include "AL/alc.h"
diff --git a/config.h.in b/config.h.in
index 747abd39..c289e75d 100644
--- a/config.h.in
+++ b/config.h.in
@@ -98,6 +98,9 @@
/* Define if we have guiddef.h */
#cmakedefine HAVE_INITGUID_H
+/* Define if we have ieeefp.h */
+#cmakedefine HAVE_IEEEFP_H
+
/* Define if we have float.h */
#cmakedefine HAVE_FLOAT_H