handle missing UINT64_C definition

pull/13383/head
Vadim Pisarevsky 15 years ago
parent 5bafccd2a7
commit fb2e7142b1
  1. 3
      modules/highgui/src/cap_ffmpeg.cpp

@ -48,8 +48,7 @@
extern "C" {
#if !defined(WIN32) || defined(__MINGW32__)
// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
#ifndef INT64_C
#define INT64_C
#if !defined INT64_C || !defined UINT64_C
#define __STDC_CONSTANT_MACROS
// force re-inclusion of stdint.h to get INT64_C macro
#undef _STDINT_H

Loading…
Cancel
Save