Commit 8b02dfd3 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/timestamp: Warn about missing __STDC_FORMAT_MACROS for C++ use

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f385a099
......@@ -26,6 +26,10 @@
#include "common.h"
#if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS) && !defined(PRId64)
#error missing -D__STDC_FORMAT_MACROS / #define __STDC_FORMAT_MACROS
#endif
#define AV_TS_MAX_STRING_SIZE 32
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment