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:
arpi 2002-06-07 22:41:26 +00:00
parent 94c6342759
commit c93c93eb26
2 changed files with 4 additions and 1 deletions

3
configure vendored
View File

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

View File

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