projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396494d
)
conf_cookie valid only for Linux.
author
Nikos Ntarmos
<ntarmos@cs.uoi.gr>
Thu, 14 May 2009 22:36:50 +0000
(
01:36
+0300)
committer
Brenden Matthews
<brenden@rty.ca>
Sun, 24 May 2009 03:08:31 +0000
(21:08 -0600)
Signed-off-by: Brenden Matthews <brenden@rty.ca>
src/conf_cookie.c
patch
|
blob
|
history
diff --git
a/src/conf_cookie.c
b/src/conf_cookie.c
index
65cbadc
..
568b5b6
100644
(file)
--- a/
src/conf_cookie.c
+++ b/
src/conf_cookie.c
@@
-24,10
+24,11
@@
ssize_t conf_read(void *cookie, char *buf, size_t size)
return i;
}
+#if defined(__linux__)
cookie_io_functions_t conf_cookie = {
.read = &conf_read,
.write = NULL,
.seek = NULL,
.close = NULL,
};
-
+#endif