Define _POSIX_C_SOURCE again.

This commit is contained in:
Jordan Bancino 2022-12-23 22:53:48 +00:00
parent 25dcff06a8
commit 2d1bfd8b74
2 changed files with 9 additions and 1 deletions

View file

@ -41,6 +41,14 @@
#include <Matrix.h> #include <Matrix.h>
#include <Db.h> #include <Db.h>
#ifdef __OpenBSD__
extern int
pledge(const char *, const char *);
extern int
unveil(const char *, const char *);
#endif
static void static void
TelodendriaMemoryHook(MemoryAction a, MemoryInfo * i, void *args) TelodendriaMemoryHook(MemoryAction a, MemoryInfo * i, void *args)
{ {

View file

@ -22,7 +22,7 @@
: "${TELODENDRIA_VERSION:=0.2.0}" : "${TELODENDRIA_VERSION:=0.2.0}"
: "${CVS_TAG:=Telodendria-$(echo $TELODENDRIA_VERSION | sed 's/\./_/g')}" : "${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}" : "${INCLUDES:=-Isrc/include}"
: "${CC:=cc}" : "${CC:=cc}"