blob: fe1f89f7c8c72d3b776f0d726b7fa5367b36af81 (
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
|
$NetBSD: patch-ak,v 1.4 2008/07/07 14:58:00 kristerw Exp $
--- libraries/base/include/HsBase.h.orig 2007-12-10 19:16:54.000000000 +0100
+++ libraries/base/include/HsBase.h 2008-07-07 13:18:57.000000000 +0200
@@ -254,6 +254,11 @@
INLINE int
__hscore_sigismember( sigset_t * set, int s )
{ return sigismember(set,s); }
+
+INLINE int
+__hscore_sigprocmask( int how, const sigset_t * set, sigset_t * oset )
+{ return sigprocmask(how,set,oset); }
+
#endif
INLINE void *
@@ -648,6 +653,10 @@
#endif
}
+INLINE DIR* __hscore_opendir (const char *filename) {
+ return opendir(filename);
+}
+
// These are wrapped because on some OSs (eg. Linux) they are
// macros which redirect to the 64-bit-off_t versions when large file
// support is enabled.
|