openbsd-ports/graphics/ffmpeg/patches/patch-libavformat_avformat_h
2003-11-04 07:50:19 +00:00

16 lines
444 B
Plaintext

$OpenBSD: patch-libavformat_avformat_h,v 1.3 2003/11/04 07:50:19 jolan Exp $
--- libavformat/avformat.h.orig 2003-09-28 10:26:40.000000000 -0500
+++ libavformat/avformat.h 2003-11-03 22:20:14.000000000 -0600
@@ -19,6 +19,11 @@ extern "C" {
/* packet functions */
+#ifndef int64_t_C
+#define int64_t_C(c) (c ## LL)
+#define uint64_t_C(c) (c ## ULL)
+#endif
+
#ifndef MAXINT64
#define MAXINT64 int64_t_C(0x7fffffffffffffff)
#endif