Fix memmem() error

This commit is contained in:
Nicolas Williams committed 2013-12-17 08:40:03 -06:00
1 parent 669f4ab4c3
commit 0966230ba8
1 file changed
+4
+4
View File
@@ -586,6 +586,10 @@ int jv_string_length_codepoints(jv j) {
}
#ifndef HAVE_MEMMEM
#ifdef memmem
#undef memmem
#endif
#define memmem my_memmem
static const void *memmem(const void *haystack, size_t haystacklen,
const void *needle, size_t needlelen)
{