mirror of https://github.com/mpv-player/mpv
cygwin & darwin fixes by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6335 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
94c6342759
commit
c93c93eb26
|
@ -1646,6 +1646,7 @@ echores "$_dvdio"
|
|||
|
||||
echocheck "sys/cdio.h"
|
||||
cat > $TMPC << EOF
|
||||
#include <unistd.h>
|
||||
#include <sys/cdio.h>
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
|
@ -3725,7 +3726,7 @@ EOF
|
|||
fi
|
||||
if darwin ; then
|
||||
# use gnu style cpp on Darwin
|
||||
CFLAGS="$CFLAGS -no-cpp-precomp"
|
||||
CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN"
|
||||
fi
|
||||
# Thread support
|
||||
if linux ; then
|
||||
|
|
|
@ -42,7 +42,9 @@
|
|||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
#if !defined(__CYGWIN__)
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#define BE_16(x) (be2me_16(*(unsigned short *)(x)))
|
||||
#define BE_32(x) (be2me_32(*(unsigned int *)(x)))
|
||||
|
|
Loading…
Reference in New Issue