mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
bsd memmem .h
This commit is contained in:
parent
592aa596e8
commit
7db73bacda
1 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@
|
||||||
|
|
||||||
#include "../psyc.h"
|
#include "../psyc.h"
|
||||||
#include "./debug.h"
|
#include "./debug.h"
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
/* perlisms for readability */
|
/* perlisms for readability */
|
||||||
#define unless(COND) if (!(COND))
|
#define unless(COND) if (!(COND))
|
||||||
#define until(COND) while (!(COND))
|
#define until(COND) while (!(COND))
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
#if !defined(_GNU_SOURCE) && !defined(__FBSDID)
|
||||||
void *memmem(const void *haystack, size_t haystacklen,
|
void * memmem(const void *l, size_t l_len, const void *s, size_t s_len);
|
||||||
const void *needle, size_t needlelen);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // PSYC_LIB_H
|
#endif // PSYC_LIB_H
|
||||||
|
|
Loading…
Reference in a new issue