1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 13:14:36 +00:00

avoid lrintf redeclaration

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15594 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2005-05-30 08:18:03 +00:00
parent a7d23c26a5
commit 5df178e473

View File

@ -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)