aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg/files
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-11-03 15:16:43 +0800
committerlioux <lioux@FreeBSD.org>2002-11-03 15:16:43 +0800
commit1cbc4defeffb97871e2ec8fef57925ec9d079041 (patch)
tree0fcddc42c1d5ab46c80c44fc0dc526f0614c9c13 /multimedia/ffmpeg/files
parentb0891bc887f051ce2fa232983a1606e9251f15b7 (diff)
downloadfreebsd-ports-gnome-1cbc4defeffb97871e2ec8fef57925ec9d079041.tar.gz
freebsd-ports-gnome-1cbc4defeffb97871e2ec8fef57925ec9d079041.tar.zst
freebsd-ports-gnome-1cbc4defeffb97871e2ec8fef57925ec9d079041.zip
Fix <sys/param.h> detection code. NOW, the optimized FreeBSD byteswap
can REALLY be used.
Diffstat (limited to 'multimedia/ffmpeg/files')
-rw-r--r--multimedia/ffmpeg/files/patch-libavcodec::bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/ffmpeg/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg/files/patch-libavcodec::bswap.h
index e0c419c1dc42..7205d7e7a87b 100644
--- a/multimedia/ffmpeg/files/patch-libavcodec::bswap.h
+++ b/multimedia/ffmpeg/files/patch-libavcodec::bswap.h
@@ -4,7 +4,7 @@
#include <byteswap.h>
#else
-+#if (defined(BSD) && (BSD >= 199103))
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+