changeset 204:bcc2b616017b trunk

[svn] Fucking nero idiots suck...
author nenolod
date Thu, 17 Nov 2005 21:45:35 -0800
parents f0f81a26b850
children 94ca5a831695
files Plugins/Input/aac/libfaad2/common.h
diffstat 1 files changed, 0 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- 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 <mathf.h>