2012-08-29 01:27:10 +02:00
|
|
|
$NetBSD: patch-media_libvpx_vpx__config.h,v 1.3 2012/08/28 23:27:10 ryoon Exp $
|
2012-03-06 13:34:08 +01:00
|
|
|
|
2012-08-29 01:27:10 +02:00
|
|
|
--- media/libvpx/vpx_config.h.orig 2012-08-24 22:55:55.000000000 +0000
|
2012-08-28 14:42:00 +02:00
|
|
|
+++ media/libvpx/vpx_config.h
|
|
|
|
@@ -16,12 +16,12 @@
|
2012-03-06 13:34:08 +01:00
|
|
|
/* 32 bit MacOS. */
|
|
|
|
#include "vpx_config_x86-darwin9-gcc.h"
|
|
|
|
|
|
|
|
-#elif defined(__linux__) && defined(__i386__)
|
|
|
|
-/* 32 bit Linux. */
|
|
|
|
+#elif (defined(__linux__) | defined(__DragonFly__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)) && defined(__i386__)
|
|
|
|
+/* 32 bit Linux or some BSD. */
|
|
|
|
#include "vpx_config_x86-linux-gcc.h"
|
|
|
|
|
|
|
|
-#elif defined(__linux__) && defined(__x86_64__)
|
|
|
|
-/* 64 bit Linux. */
|
|
|
|
+#elif (defined(__linux__) | defined(__DragonFly__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MirBSD__)) && defined(__x86_64__)
|
|
|
|
+/* 64 bit Linux or some BSD. */
|
|
|
|
#include "vpx_config_x86_64-linux-gcc.h"
|
|
|
|
|
|
|
|
#elif defined(__sun) && defined(__i386)
|