blob: a90dc24781dea08bc17dcca66cfcba580a5a6791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-media_libvpx_vpx__config__c.c,v 1.3 2012/08/28 23:27:10 ryoon Exp $
--- media/libvpx/vpx_config_c.c.orig 2012-08-24 22:55:55.000000000 +0000
+++ media/libvpx/vpx_config_c.c
@@ -15,12 +15,12 @@
/* 32 bit MacOS. */
#include "vpx_config_x86-darwin9-gcc.c"
-#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 BSD. */
#include "vpx_config_x86-linux-gcc.c"
-#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 BSD. */
#include "vpx_config_x86_64-linux-gcc.c"
#elif defined(__sun) && defined(__i386)
|