summaryrefslogtreecommitdiff
path: root/audio/snd/patches/patch-aj
blob: 6d3356dd20bf84f2acb3a381c283cc2ea01b0d6e (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
29
30
$NetBSD: patch-aj,v 1.2 1998/08/07 10:36:10 agc Exp $

--- snd.orig/snd-x0.h	Wed Dec 17 19:12:04 1997
+++ snd-x0.h	Sun Feb 22 02:14:17 1998
@@ -14,14 +14,14 @@
  * All the documentation says this is dangerous, so it's on this switch
  */
 
-#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
   #define RESIZE_DIALOG 1
   /* these versions of Motif need to be told to allow a dialog to include resize controls */
 #else
   #define RESIZE_DIALOG 0
 #endif
 
-#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
   #define MANAGE_DIALOG 1
   /* these versions of Motif need to "manage" a dialog before dealing with its children */
 #else
@@ -67,7 +67,7 @@
   #define CONTROLS_MARGIN 0
 #endif
 
-#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS)
+#if defined(LINUX) || defined(SCO5) || defined(UW2) || defined(SOLARIS) || defined(__NetBSD__)
   #define LINE_MARGIN 4
   #define CONTROLS_MARGIN 1
   #define TOGGLE_SIZE 13