ref: 37365c52f772209be58bad1f7acace60cf54e26b
parent: 712d0cf914f258be501344d116f6a461fcaecb86
author: knik <knik>
date: Mon Jan 26 12:48:53 EST 2015
Added missing #ifndef HAVE_LRINTF
--- a/libfaad/common.h
+++ b/libfaad/common.h
@@ -25,7 +25,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
**
-** $Id: common.h,v 1.78 2009/06/05 16:32:27 menno Exp $
+** $Id: common.h,v 1.79 2015/01/26 17:48:53 knik Exp $
**/
#ifndef __COMMON_H__
@@ -314,6 +314,7 @@
#if defined(_WIN32) && !defined(_WIN64) && !defined(__MINGW32__)
+ #ifndef HAVE_LRINTF
#define HAS_LRINTF
static INLINE int lrintf(float f)
{
@@ -325,6 +326,7 @@
}
return i;
}
+ #endif /* HAVE_LRINTF */
#elif (defined(__i386__) && defined(__GNUC__) && \
!defined(__CYGWIN__) && !defined(__MINGW32__))
#ifndef HAVE_LRINTF