mirror of https://github.com/mpv-player/mpv
Fix playback on big-endian systems.
patch by Nicolas Plourde and adland123 <adland123 at yahoo dot com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13686 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fec22a5be7
commit
f37898d16d
|
@ -39,9 +39,7 @@ extern "C" {
|
|||
#define __STRICT_ANSI__
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "../config.h"
|
||||
#endif
|
||||
#include "../config.h"
|
||||
|
||||
#define INLINE __inline
|
||||
#if 0 //defined(_WIN32) && !defined(_WIN32_WCE)
|
||||
|
@ -201,10 +199,6 @@ typedef float float32_t;
|
|||
/* Define if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "../config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#if HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
|
@ -375,6 +369,8 @@ char *strchr(), *strrchr();
|
|||
|
||||
#else
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_LRINTF
|
||||
# define HAS_LRINTF
|
||||
# define _ISOC9X_SOURCE 1
|
||||
|
@ -383,8 +379,6 @@ char *strchr(), *strrchr();
|
|||
# define __USE_ISOC99 1
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_SINF
|
||||
# define sin sinf
|
||||
#error
|
||||
|
|
Loading…
Reference in New Issue