Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/libc_compat')
-rw-r--r--intern/libc_compat/libc_compat.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/intern/libc_compat/libc_compat.c b/intern/libc_compat/libc_compat.c
index 85a6b439893..5b969d80501 100644
--- a/intern/libc_compat/libc_compat.c
+++ b/intern/libc_compat/libc_compat.c
@@ -13,7 +13,8 @@
# include <features.h>
# include <math.h>
-# if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 31)
+# if defined(__GLIBC_PREREQ)
+# if __GLIBC_PREREQ(2, 31)
double __exp_finite(double x);
double __exp2_finite(double x);
@@ -112,5 +113,6 @@ float __powf_finite(float x, float y)
return powf(x, y);
}
-# endif /* __GLIBC_PREREQ */
-#endif /* __linux__ */
+# endif /* __GLIBC_PREREQ(2, 31) */
+# endif /* __GLIBC_PREREQ */
+#endif /* __linux__ */