mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
more sane inttypes emulation behavior if libavcodec is used outside ffmpeg
Originally committed as revision 2685 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d94728c377
commit
d2a9bdddd8
4
configure
vendored
4
configure
vendored
@ -985,8 +985,8 @@ if test "$bigendian" = "yes" ; then
|
||||
echo "WORDS_BIGENDIAN=yes" >> config.mak
|
||||
echo "#define WORDS_BIGENDIAN 1" >> $TMPH
|
||||
fi
|
||||
if test "$inttypes" = "yes" ; then
|
||||
echo "#define HAVE_INTTYPES_H 1" >> $TMPH
|
||||
if test "$inttypes" != "yes" ; then
|
||||
echo "#define EMULATE_INTTYPES 1" >> $TMPH
|
||||
fi
|
||||
if test "$emu_fast_int" = "yes" ; then
|
||||
echo "#define EMULATE_FAST_INT 1" >> $TMPH
|
||||
|
@ -82,7 +82,7 @@ extern const struct AVOption avoptions_workaround_bug[11];
|
||||
# define always_inline inline
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
#ifndef EMULATE_INTTYPES
|
||||
# include <inttypes.h>
|
||||
#else
|
||||
typedef signed char int8_t;
|
||||
|
Loading…
Reference in New Issue
Block a user