summaryrefslogtreecommitdiff
path: root/audio/snd/patches/patch-aa
blob: a7e0488e9ee3cdca2472c4175cec912efd6e8b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-aa,v 1.2 1998/08/07 10:36:08 agc Exp $

--- snd.orig/snd.h	Thu Feb 12 15:36:40 1998
+++ snd.h	Sun Feb 22 02:19:27 1998
@@ -21,17 +21,21 @@
 #include "sound_types.h"
 #include "cmus_prototypes.h"
 
-#if defined(SGI) || defined(LINUX) || defined(NEXT) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#ifndef HAVE_MOTIF
+#if defined(SGI) || defined(LINUX) || defined(NEXT) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
   #define HAVE_MOTIF 1
 #else
   #define HAVE_MOTIF 0
 #endif
+#endif /* HAVE_MOTIF */
 
-#if defined(LINUX) || defined(SCO5) || defined(UW2)
+#ifndef HAVE_OSS
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(__NetBSD__)
   #define HAVE_OSS 1
 #else
   #define HAVE_OSS 0
 #endif
+#endif /* HAVE_OSS */
 
 #include "snd-0.h"