mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 11:45:18 -04:00
22 lines
938 B
C
22 lines
938 B
C
$NetBSD: patch-media_libvpx_vpx__config.h,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $
|
|
|
|
--- media/libvpx/vpx_config.h.orig 2012-03-09 22:20:30.000000000 +0000
|
|
+++ 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)
|