fix INT64_C breakage with ffmpeg

Originally committed to SVN as r967.
This commit is contained in:
David Lamparter 2007-03-31 21:28:43 +00:00
parent af7bfcc858
commit 7c38076d4f
2 changed files with 10 additions and 0 deletions

View File

@ -38,6 +38,15 @@
// Headers
#define EMULATE_INTTYPES
#include <wx/wxprec.h>
/* avcodec.h uses INT64_C in a *single* place. This prolly breaks on Win32,
* but, well. Let's at least fix it for Linux.
*
#define __STDC_CONSTANT_MACROS 1
#include <stdint.h>
* - done in posix/defines.h
*/
#include <ffmpeg/avcodec.h>
#include <ffmpeg/avformat.h>
#include "mkv_wrap.h"

View File

@ -9,6 +9,7 @@
#include "acconf.h"
#ifdef HAVE_STDINT_H
#define __STDC_CONSTANT_MACROS 1
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H