From: Nikos Ntarmos Date: Thu, 14 May 2009 22:36:50 +0000 (+0300) Subject: conf_cookie valid only for Linux. X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=38d4030e65224cc8897c06d0604c4e124cc8d11b;p=monky conf_cookie valid only for Linux. Signed-off-by: Brenden Matthews --- diff --git a/src/conf_cookie.c b/src/conf_cookie.c index 65cbadc..568b5b6 100644 --- 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