diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-11-03 07:16:43 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-11-03 07:16:43 +0000 |
commit | 4866d1844cb7823ad139132d8617efb93e8ad27d (patch) | |
tree | e60c0fd895fe8175fc8f5d8e017fa70ac2eda86a | |
parent | Deploy USE_REINPLACE (diff) |
Fix <sys/param.h> detection code. NOW, the optimized FreeBSD byteswap
can REALLY be used.
Notes
Notes:
svn path=/head/; revision=69330
4 files changed, 4 insertions, 4 deletions
diff --git a/graphics/ffmpeg/files/patch-libavcodec::bswap.h b/graphics/ffmpeg/files/patch-libavcodec::bswap.h index e0c419c1dc42..7205d7e7a87b 100644 --- a/graphics/ffmpeg/files/patch-libavcodec::bswap.h +++ b/graphics/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 + diff --git a/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h index e0c419c1dc42..7205d7e7a87b 100644 --- a/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h +++ b/multimedia/ffmpeg-devel/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 + 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 + diff --git a/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h index e0c419c1dc42..7205d7e7a87b 100644 --- a/multimedia/ffmpeg045/files/patch-libavcodec::bswap.h +++ b/multimedia/ffmpeg045/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 + |