blob: 175aa5fc5550f93cdbdaea436ce7386c024d8815 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_s__stuff.h,v 1.1.1.1 2011/09/15 01:05:05 wiz Exp $
Use OSS on NetBSD.
--- src/s_stuff.h.orig 2011-03-13 00:19:29.000000000 +0000
+++ src/s_stuff.h
@@ -204,7 +204,7 @@ void sys_setalarm(int microsec);
#define API_DEFAULT API_DUMMY
#define API_DEFSTRING "dummy audio"
#else
-#if defined(__linux__) || defined(__FreeBSD_kernel__)
+#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
# define API_DEFAULT API_OSS
# define API_DEFSTRING "OSS"
#endif
|