# HG changeset patch # User nenolod # Date 1132292735 28800 # Node ID bcc2b616017bb15625547190b2242e29381a43d9 # Parent f0f81a26b850d4d06683fd14cfb13444f1f96938 [svn] Fucking nero idiots suck... diff -r f0f81a26b850 -r bcc2b616017b Plugins/Input/aac/libfaad2/common.h --- a/Plugins/Input/aac/libfaad2/common.h Thu Nov 17 14:57:57 2005 -0800 +++ b/Plugins/Input/aac/libfaad2/common.h Thu Nov 17 21:45:35 2005 -0800 @@ -289,34 +289,6 @@ } - #if defined(_WIN32) && !defined(__MINGW32__) - #define HAS_LRINTF - static INLINE int lrintf(float f) - { - int i; - __asm - { - fld f - fistp i - } - return i; - } - #elif (defined(__i386__) && defined(__GNUC__)) - #define HAS_LRINTF - // from http://www.stereopsis.com/FPU.html - static INLINE int lrintf(float f) - { - int i; - __asm__ __volatile__ ( - "flds %1 \n\t" - "fistpl %0 \n\t" - : "=m" (i) - : "m" (f)); - return i; - } - #endif - - #ifdef __ICL /* only Intel C compiler has fmath ??? */ #include