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:
parent
396494d4a0
commit
38d4030e65
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user