aboutsummaryrefslogtreecommitdiff
path: root/audio/lame/files/patch-libmp3lame_util.c
blob: 984bf2af99763a4f7bd9c0c8e4896514e5a4bdb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libmp3lame/util.c.orig	2021-06-11 15:08:59 UTC
+++ libmp3lame/util.c
@@ -843,9 +843,8 @@ disable_FPE(void)
      */
 
 
-
-
-#if defined(__FreeBSD__) && !defined(__alpha__)
+/* https://reviews.llvm.org/D89557 */
+#if defined(__FreeBSD__) && defined(FP_X_INV) && defined(FP_X_DZ)
     {
         /* seet floating point mask to the Linux default */
         fp_except_t mask;