ports/multimedia/ffmpeg/files/patch-libavutil-common.h
2024-08-13 15:53:16 +02:00

13 lines
333 B
C

--- libavutil/common.h.orig 2024-08-01 23:22:48 UTC
+++ libavutil/common.h
@@ -43,6 +43,10 @@
#include "error.h"
#include "macros.h"
+#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 */