kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 3f7e7e696e5966cddaa6055f1067914716dca37e
parent 8e88ac41ff41e575390a062127064769231ca4b1
Author: Joris Vink <joris@coders.se>
Date:   Sat, 12 Apr 2014 18:49:01 +0200

Kill daemon deprication warning on osx. We get it.

Diffstat:
includes/kore.h | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/includes/kore.h b/includes/kore.h @@ -17,6 +17,10 @@ #ifndef __H_KORE_H #define __H_KORE_H +#if defined(__APPLE__) +#define daemon portability_is_king +#endif + #include <sys/types.h> #include <sys/queue.h> @@ -33,6 +37,11 @@ #include <unistd.h> #include <zlib.h> +#if defined(__APPLE__) +#undef daemon +extern int daemon(int, int); +#endif + #include "spdy.h" #define KORE_RESULT_ERROR 0