summaryrefslogtreecommitdiffstats
path: root/libfaad2/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libfaad2/common.h')
-rw-r--r--libfaad2/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfaad2/common.h b/libfaad2/common.h
index b4f2a569d7..d378680e6d 100644
--- a/libfaad2/common.h
+++ b/libfaad2/common.h
@@ -329,7 +329,7 @@ char *strchr(), *strrchr();
}
- #if defined(_WIN32) && !defined(__MINGW32__)
+ #if defined(_WIN32) && !defined(__MINGW32__) && !defined(HAVE_LRINTF)
#define HAS_LRINTF
static INLINE int lrintf(float f)
{
@@ -341,7 +341,7 @@ char *strchr(), *strrchr();
}
return i;
}
- #elif (defined(__i386__) && defined(__GNUC__)) && !defined(__MINGW32__)
+ #elif (defined(__i386__) && defined(__GNUC__)) && !defined(__MINGW32__) && !defined(HAVE_LRINTF)
#define HAS_LRINTF
// from http://www.stereopsis.com/FPU.html
static INLINE int lrintf(float f)