mirror of https://github.com/mpv-player/mpv
stdint.h replaced by inttypes.h (used more frequently in the sources)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4004 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4b41dd6fb5
commit
5b981f805a
|
@ -1113,20 +1113,20 @@ else
|
||||||
_streaming=no
|
_streaming=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echocheck "inttypes.h (required)"
|
||||||
echocheck "stdint.h"
|
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
_stdint=no
|
_inttypes=no
|
||||||
cc_check && _stdint=yes
|
cc_check && _inttypes=yes
|
||||||
if test "$_stdint" = yes ; then
|
if test "$_inttypes" = yes ; then
|
||||||
_def_stdint='#define HAVE_STDINT_H 1'
|
# nothing to do
|
||||||
|
:
|
||||||
else
|
else
|
||||||
_def_stdint='#undef HAVE_STDINT_H'
|
die "cannot find header inttypes.h (see in DOC/faq.html)"
|
||||||
fi
|
fi
|
||||||
echores "$_stdint"
|
echores "$_inttypes"
|
||||||
|
|
||||||
|
|
||||||
echocheck "malloc.h"
|
echocheck "malloc.h"
|
||||||
|
@ -2895,9 +2895,6 @@ $_def_rtc
|
||||||
/* Define this if your system has the header file for the OSS sound interface */
|
/* Define this if your system has the header file for the OSS sound interface */
|
||||||
$_def_sys_soundcard
|
$_def_sys_soundcard
|
||||||
|
|
||||||
/* Define this if your system has the "stdint.h" header file */
|
|
||||||
$_def_stdint
|
|
||||||
|
|
||||||
/* Define this if your system has the "malloc.h" header file */
|
/* Define this if your system has the "malloc.h" header file */
|
||||||
$_def_malloc
|
$_def_malloc
|
||||||
|
|
||||||
|
|
|
@ -42,13 +42,7 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#ifdef HAVE_STDINT_H
|
|
||||||
#include <stdint.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#include "divx4_vbr.h"
|
#include "divx4_vbr.h"
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
#include "../vidix.h"
|
#include "../vidix.h"
|
||||||
#include "../fourcc.h"
|
#include "../fourcc.h"
|
||||||
#include "../../libdha/libdha.h"
|
#include "../../libdha/libdha.h"
|
||||||
|
|
Loading…
Reference in New Issue