add a compatible memrchr() function if the platform does not support it (e.g. old glibc). Patch courtesy to Thomas Jarosch

This commit is contained in:
Andreas Steffen
2009-01-09 01:19:45 +00:00
parent a205d9581d
commit 48032aed00
4 changed files with 50 additions and 0 deletions
+3
View File
@@ -20,6 +20,9 @@
#include "lexparser.h"
#ifndef HAVE_MEMRCHR
void *memrchr(const void *s, int c, size_t n);
#endif
/**
* eat whitespace