Mercurial > mplayer.hg
comparison libfaad2/common.h @ 32305:667186dcadbf
Fix condition for compiling lrintf, fixes compilation on cygwin/MinGW.
author | reimar |
---|---|
date | Mon, 27 Sep 2010 18:37:43 +0000 |
parents | 2f7330d56aba |
children |
comparison
equal
deleted
inserted
replaced
32304:50f2498749da | 32305:667186dcadbf |
---|---|
315 fld f | 315 fld f |
316 fistp i | 316 fistp i |
317 } | 317 } |
318 return i; | 318 return i; |
319 } | 319 } |
320 #elif (defined(__i386__) && defined(__GNUC__)) && __STDC_VERSION__ >= 199901L | 320 #elif (defined(__i386__) && defined(__GNUC__)) && __STDC_VERSION__ < 199901L |
321 #define HAS_LRINTF | 321 #define HAS_LRINTF |
322 // from http://www.stereopsis.com/FPU.html | 322 // from http://www.stereopsis.com/FPU.html |
323 static INLINE int lrintf(float f) | 323 static INLINE int lrintf(float f) |
324 { | 324 { |
325 int i; | 325 int i; |