[MPlayer-cvslog] r32391 - in trunk/libfaad2: common.h local_changes.diff

reimar subversion at mplayerhq.hu
Mon Sep 27 20:37:43 CEST 2010


Author: reimar
Date: Mon Sep 27 20:37:43 2010
New Revision: 32391

Log:
Fix condition for compiling lrintf, fixes compilation on cygwin/MinGW.

Modified:
   trunk/libfaad2/common.h
   trunk/libfaad2/local_changes.diff

Modified: trunk/libfaad2/common.h
==============================================================================
--- trunk/libfaad2/common.h	Mon Sep 27 19:28:23 2010	(r32390)
+++ trunk/libfaad2/common.h	Mon Sep 27 20:37:43 2010	(r32391)
@@ -317,7 +317,7 @@ char *strchr(), *strrchr();
         }
         return i;
     }
-  #elif (defined(__i386__) && defined(__GNUC__)) && __STDC_VERSION__ >= 199901L
+  #elif (defined(__i386__) && defined(__GNUC__)) && __STDC_VERSION__ < 199901L
     #define HAS_LRINTF
     // from http://www.stereopsis.com/FPU.html
     static INLINE int lrintf(float f)

Modified: trunk/libfaad2/local_changes.diff
==============================================================================
--- trunk/libfaad2/local_changes.diff	Mon Sep 27 19:28:23 2010	(r32390)
+++ trunk/libfaad2/local_changes.diff	Mon Sep 27 20:37:43 2010	(r32391)
@@ -77,7 +77,7 @@
          return i;
      }
 -  #elif (defined(__i386__) && defined(__GNUC__))
-+  #elif (defined(__i386__) && defined(__GNUC__)) && __STDC_VERSION__ >= 199901L
++  #elif (defined(__i386__) && defined(__GNUC__)) && __STDC_VERSION__ < 199901L
      #define HAS_LRINTF
      // from http://www.stereopsis.com/FPU.html
      static INLINE int lrintf(float f)


More information about the MPlayer-cvslog mailing list