[MPlayer-cvslog] r32335 - in trunk/libfaad2: common.h local_changes.diff
diego
subversion at mplayerhq.hu
Tue Sep 21 15:04:05 CEST 2010
Author: diego
Date: Tue Sep 21 15:04:05 2010
New Revision: 32335
Log:
Remove local HAVE_LRINTF hack; it should no longer be necessary.
Modified:
trunk/libfaad2/common.h
trunk/libfaad2/local_changes.diff
Modified: trunk/libfaad2/common.h
==============================================================================
--- trunk/libfaad2/common.h Tue Sep 21 14:39:23 2010 (r32334)
+++ trunk/libfaad2/common.h Tue Sep 21 15:04:05 2010 (r32335)
@@ -305,7 +305,7 @@ char *strchr(), *strrchr();
}
- #if defined(_WIN32) && !defined(__MINGW32__) && !HAVE_LRINTF
+ #if defined(_WIN32) && !defined(__MINGW32__)
#define HAS_LRINTF
static INLINE int lrintf(float f)
{
@@ -317,7 +317,7 @@ char *strchr(), *strrchr();
}
return i;
}
- #elif (defined(__i386__) && defined(__GNUC__)) && !HAVE_LRINTF
+ #elif (defined(__i386__) && defined(__GNUC__))
#define HAS_LRINTF
// from http://www.stereopsis.com/FPU.html
static INLINE int lrintf(float f)
@@ -348,7 +348,7 @@ char *strchr(), *strrchr();
#include <math.h>
-#if HAVE_LRINTF
+#ifdef HAVE_LRINTF
# define HAS_LRINTF
# define _ISOC9X_SOURCE 1
# define _ISOC99_SOURCE 1
Modified: trunk/libfaad2/local_changes.diff
==============================================================================
--- trunk/libfaad2/local_changes.diff Tue Sep 21 14:39:23 2010 (r32334)
+++ trunk/libfaad2/local_changes.diff Tue Sep 21 15:04:05 2010 (r32335)
@@ -71,34 +71,14 @@
#define ARCH_IS_BIG_ENDIAN
#endif
-@@ -289,7 +305,7 @@
- }
-
-
-- #if defined(_WIN32) && !defined(__MINGW32__)
-+ #if defined(_WIN32) && !defined(__MINGW32__) && !HAVE_LRINTF
- #define HAS_LRINTF
- static INLINE int lrintf(float f)
- {
-@@ -301,7 +317,7 @@
- }
- return i;
- }
-- #elif (defined(__i386__) && defined(__GNUC__))
-+ #elif (defined(__i386__) && defined(__GNUC__)) && !HAVE_LRINTF
- #define HAS_LRINTF
- // from http://www.stereopsis.com/FPU.html
- static INLINE int lrintf(float f)
-@@ -330,6 +346,8 @@
+@@ -330,5 +346,7 @@
#else
+#include <math.h>
+
--#ifdef HAVE_LRINTF
-+#if HAVE_LRINTF
+ #ifdef HAVE_LRINTF
# define HAS_LRINTF
- # define _ISOC9X_SOURCE 1
@@ -338,8 +356,6 @@
# define __USE_ISOC99 1
#endif
More information about the MPlayer-cvslog
mailing list