summaryrefslogtreecommitdiff
path: root/audio/gsm/patches/patch-aa
blob: 7684c5127039c47d9e62553c60dc4ed197a0ad2f (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
31
32
33
34
35
$NetBSD: patch-aa,v 1.4 2009/02/03 06:09:09 obache Exp $

--- inc/config.h.orig	2006-04-26 19:14:26.000000000 +0000
+++ inc/config.h
@@ -10,7 +10,10 @@
 #define	CONFIG_H
 
 /*efine	SIGHANDLER_T	int 		/* signal handlers are void	*/
-/*efine HAS_SYSV_SIGNAL	1		/* sigs not blocked/reset?	*/
+
+#if defined(__INTERIX)
+#define HAS_SYSV_SIGNAL	1		/* sigs not blocked/reset?	*/
+#endif
 
 #define	HAS_STDLIB_H	1		/* /usr/include/stdlib.h	*/
 #define	HAS_LIMITS_H	1		/* /usr/include/limits.h	*/
@@ -28,10 +31,17 @@
 /*efine	HAS_STRINGS_H	1		/* /usr/include/strings.h 	*/
 
 #define	HAS_UNISTD_H	1		/* /usr/include/unistd.h	*/
+
+#if defined(__INTERIX)
 #define	HAS_UTIME	1		/* POSIX utime(path, times)	*/
-/*efine	HAS_UTIMES	1		/* use utimes()	syscall instead	*/
+#else
+#define	HAS_UTIMES	1		/* use utimes()	syscall instead	*/
+#endif
 #define	HAS_UTIME_H	1		/* UTIME header file		*/
+
+#if defined(__INTERIX)
 #define	HAS_UTIMBUF	1		/* struct utimbuf		*/
+#endif
 /*efine	HAS_UTIMEUSEC   1		/* microseconds in utimbuf?	*/
 
 #endif	/* CONFIG_H */