summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg4/files/patch-libavutil-common.h
blob: 2c8c84e6d37299de98098f72272a83ebc16f3d4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libavutil/common.h.orig	2015-06-19 20:44:53 UTC
+++ libavutil/common.h
@@ -49,6 +49,10 @@
 #   define AV_NE(be, le) (le)
 #endif
 
+#ifndef	UINT64_C
+#define	UINT64_C(c)	(c ## UL)
+#endif
+
 //rounded division & shift
 #define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
 /* assume b>0 */