mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n6.1.2:/Changelog Reported by: Repology, portscout
13 lines
333 B
C
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 */
|