feat: cosmopolitan libc support
Added support for cosmopolitan libc. Simply do `make COSMO=yes` and you'll get feuille.com, a working αcτµαlly pδrταblε εxεcµταblε pastebin server. + version bump.
This commit is contained in:
parent
63319d7525
commit
16f516d6ce
9 changed files with 86 additions and 27 deletions
2
util.c
2
util.c
|
|
@ -15,11 +15,13 @@
|
|||
|
||||
#include "util.h"
|
||||
|
||||
#ifndef COSMOPOLITAN
|
||||
#include <stdarg.h> /* for va_end, va_list, va_start */
|
||||
#include <stdio.h> /* for snprintf, vsnprintf, vfprintf, BUFSIZ, stderr */
|
||||
#include <stdlib.h> /* for exit */
|
||||
#include <syslog.h> /* for syslog, LOG_DEBUG, LOG_ERR */
|
||||
#include <unistd.h> /* for getpid */
|
||||
#endif
|
||||
|
||||
#include "feuille.h" /* for Settings, settings */
|
||||
|
||||
|
|
|
|||
Reference in a new issue