1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00

conf_cookie valid only for Linux.

Signed-off-by: Brenden Matthews <brenden@rty.ca>
This commit is contained in:
Nikos Ntarmos 2009-05-15 01:36:50 +03:00 committed by Brenden Matthews
parent 396494d4a0
commit 38d4030e65

View File

@ -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