forked from Telodendria/Telodendria
Define _POSIX_C_SOURCE again.
This commit is contained in:
parent
25dcff06a8
commit
2d1bfd8b74
2 changed files with 9 additions and 1 deletions
|
@ -41,6 +41,14 @@
|
|||
#include <Matrix.h>
|
||||
#include <Db.h>
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
extern int
|
||||
pledge(const char *, const char *);
|
||||
|
||||
extern int
|
||||
unveil(const char *, const char *);
|
||||
#endif
|
||||
|
||||
static void
|
||||
TelodendriaMemoryHook(MemoryAction a, MemoryInfo * i, void *args)
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
: "${TELODENDRIA_VERSION:=0.2.0}"
|
||||
: "${CVS_TAG:=Telodendria-$(echo $TELODENDRIA_VERSION | sed 's/\./_/g')}"
|
||||
|
||||
: "${DEFINES:=-D_DEFAULT_SOURCE -DTELODENDRIA_VERSION=\"$TELODENDRIA_VERSION\"}"
|
||||
: "${DEFINES:=-D_POSIX_C_SOURCE=200809L -DTELODENDRIA_VERSION=\"$TELODENDRIA_VERSION\"}"
|
||||
: "${INCLUDES:=-Isrc/include}"
|
||||
|
||||
: "${CC:=cc}"
|
||||
|
|
Loading…
Reference in a new issue