summaryrefslogtreecommitdiff
path: root/multimedia/x264-devel/patches/patch-ab
blob: 776e6f51c210daee69927802c450542420863f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2006/02/23 18:11:27 joerg Exp $

--- encoder/ratecontrol.c.orig	2006-02-23 18:05:04.000000000 +0000
+++ encoder/ratecontrol.c
@@ -35,7 +35,7 @@
 #include "common/cpu.h"
 #include "ratecontrol.h"
 
-#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_NETBSD)
+#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_NETBSD) || defined(SYS_DRAGONFLY)
 #define exp2f(x) powf( 2, (x) )
 #endif
 #if defined(_MSC_VER) || defined(SYS_SunOS)