Ticket #10910: patch-libfaad-common.h

File patch-libfaad-common.h, 458 bytes (added by tristan@…, 18 years ago)

patch to fix compilation (borrowed from faad2)

Line 
1--- faad2/libfaad/common.h      2004-09-08 05:43:12.000000000 -0400
2+++ faad2/libfaad/common.h      2006-10-19 18:16:44.000000000 -0400
3@@ -288,7 +288,7 @@
4       *y2 = MUL_F(x2, c1) - MUL_F(x1, c2);
5   }
6 
7-
8+#ifndef HAS_LRINTF
9   #if defined(_WIN32) && !defined(__MINGW32__)
10     #define HAS_LRINTF
11     static INLINE int lrintf(float f)
12@@ -315,7 +315,7 @@
13         return i;
14     }
15   #endif
16-
17+#endif
18 
19   #ifdef __ICL /* only Intel C compiler has fmath ??? */
20