version 1.1.1.2, 2014/06/15 20:20:06
|
version 1.1.1.3, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
#ifndef _LIGHTTPD_SETTINGS_H_ |
#ifndef _LIGHTTPD_SETTINGS_H_ |
#define _LIGHTTPD_SETTINGS_H_ |
#define _LIGHTTPD_SETTINGS_H_ |
|
#include "first.h" |
|
|
#ifndef _GNU_SOURCE |
|
# define _GNU_SOURCE |
|
#endif |
|
|
|
#ifndef __USE_GNU |
|
# define __USE_GNU /* a hack in my eyes, <fcntl.h> F_SETSIG should work with _GNU_SOURCE */ |
|
#endif |
|
|
|
#ifdef __GNUC__ |
#ifdef __GNUC__ |
# define LI_NORETURN __attribute__((noreturn)) |
# define LI_NORETURN __attribute__((noreturn)) |
#else |
#else |
# define LI_NORETURN |
# define LI_NORETURN |
#endif |
#endif |
|
|
|
#define UNUSED(x) ( (void)(x) ) |
|
|
#define BV(x) (1 << x) |
#define BV(x) (1 << x) |
|
|
#define INET_NTOP_CACHE_MAX 4 |
#define INET_NTOP_CACHE_MAX 4 |
Line 50 typedef enum { HANDLER_UNSET,
|
Line 45 typedef enum { HANDLER_UNSET,
|
} handler_t; |
} handler_t; |
|
|
#define HTTP_LINGER_TIMEOUT 5 |
#define HTTP_LINGER_TIMEOUT 5 |
|
|
/* we use it in a enum */ |
|
#ifdef TRUE |
|
#undef TRUE |
|
#endif |
|
|
|
#ifdef FALSE |
|
#undef FALSE |
|
#endif |
|
|
|
#endif |
#endif |