mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-23 19:39:06 +00:00
Fix build on all platforms that doesn't have memrchr() function,
not just workaround it for OpenBSD only. git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@850 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
f528f66c49
commit
164839a299
@ -569,7 +569,7 @@ long fwd_fcharfind(FILE* fp, char val, unsigned int step) {
|
||||
#undef BUFSZ
|
||||
}
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
#ifndef HAVE_MEMRCHR
|
||||
void *
|
||||
memrchr (const void *buffer, int c, size_t n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user