summaryrefslogtreecommitdiff
path: root/mail/thunderbird10/patches/patch-mozilla_media_libvpx_vpx__config.h
blob: e7dfc05c7f16e20c80a6031b7852b2b83e6f1fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-mozilla_media_libvpx_vpx__config.h,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $

--- mozilla/media/libvpx/vpx_config.h.orig	2012-02-16 10:25:19.000000000 +0000
+++ mozilla/media/libvpx/vpx_config.h
@@ -12,12 +12,12 @@
 /* 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)