1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
libpsyc/include/psyc/lib.h

19 lines
425 B
C
Raw Normal View History

2011-04-16 15:30:03 +00:00
/* this is needed to compile the library, not to use it */
2011-04-22 15:09:32 +00:00
#ifndef PSYC_LIB_H
# define PSYC_LIB_H
2011-04-16 15:30:03 +00:00
#include "../psyc.h"
#include "./debug.h"
2011-04-24 16:11:57 +00:00
#include <sys/cdefs.h>
2011-04-16 15:30:03 +00:00
/* perlisms for readability */
#define unless(COND) if (!(COND))
#define until(COND) while (!(COND))
2011-04-24 16:11:57 +00:00
#if !defined(_GNU_SOURCE) && !defined(__FBSDID)
void * memmem(const void *l, size_t l_len, const void *s, size_t s_len);
2011-04-20 20:22:55 +00:00
#endif
2011-04-22 15:09:32 +00:00
#endif // PSYC_LIB_H