another attempt to fix cvcap_ffmpeg.cpp compile errors
This commit is contained in:
parent
bdd10c11f3
commit
d7691f6cad
@ -49,6 +49,8 @@ extern "C" {
|
|||||||
#if !defined(WIN32) || defined(__MINGW32__)
|
#if !defined(WIN32) || defined(__MINGW32__)
|
||||||
// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
|
// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
|
||||||
#if !defined INT64_C || !defined UINT64_C
|
#if !defined INT64_C || !defined UINT64_C
|
||||||
|
#define INT64_C
|
||||||
|
#define UINT64_C
|
||||||
#define __STDC_CONSTANT_MACROS
|
#define __STDC_CONSTANT_MACROS
|
||||||
// force re-inclusion of stdint.h to get INT64_C macro
|
// force re-inclusion of stdint.h to get INT64_C macro
|
||||||
#undef _STDINT_H
|
#undef _STDINT_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user