Stefan Bühler
4a4fd8fd11
[core] include and use hedley (v15) header
...
hedley is a single header to handle compiler-specific features:
https://nemequ.github.io/hedley/
Prefer headly macros over glib for now.
Change-Id: I3c67ebee0d43e27fde6402d47788e1045144e864
2021-08-05 12:29:46 +02:00
Stefan Bühler
f17a221cd8
use _DEFAULT_SOURCE instead of _BSD_SOURCE
...
Change-Id: Iecd6f2b4d31cd8f64f1c7ed491650a9b2a35be28
2016-08-27 11:32:19 +02:00
Stefan Bühler
17a5168793
[core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind
2014-04-11 11:40:24 +02:00
Stefan Bühler
9f6d56d5c4
[core] add PACKAGE_NO_BUILD_DATE define to disable PACKAGE_BUILD_DATE
2014-02-04 14:20:35 +01:00
Stefan Bühler
72967a0874
[core] make PACKAGE_BUILD_DATE an embeddable string constant
2014-02-04 14:04:37 +01:00
Stefan Bühler
e762189fb5
[core] only use feature test macros on linux
2013-07-20 11:45:09 +02:00
Stefan Bühler
42ce5eda8f
[core] cleanup settings.h - openssl not needed in global headers
2013-07-20 11:41:24 +02:00
Stefan Bühler
d0d3dc3c55
define _XOPEN_SOURCE 600 for _POSIX_C_SOURCE 200112L, which should fix IPv6/sockaddr_in6 on BSD
2013-06-25 16:22:14 +02:00
Stefan Bühler
796f6b1547
[mod_gnutls] send alerts instead of aborting, allow safe renegotiations
2013-06-09 16:15:43 +02:00
Stefan Bühler
05e058aa9c
fix bugs and warnings reported by clang
...
* fix memset sizeof() bugs
* fix unaligned memory access
* fix warnings for casts with alignment change
* crypt_r needs _GNU_SOURCE
2013-06-08 20:11:23 +02:00
Stefan Bühler
49796611be
[glib] disable deprecation warnings
2013-05-24 13:16:51 +02:00
Stefan Bühler
a937bd437a
fix missing li prefixes
2013-05-23 17:56:24 +02:00
Stefan Bühler
11fa781f98
Fix some warnings found with clang analyzer
2010-10-07 18:31:21 +02:00
Stefan Bühler
8c1b6fa3a2
[core] disable GCC poison
2010-08-24 20:17:30 +02:00
Thomas Porzelt
8e8a53e8c6
[core] Fix include of sys/wait.h in settings.h
2010-07-31 16:11:32 +02:00
Thomas Porzelt
e7fca37edb
[core] Include wait.h in settings.h
2010-07-31 15:56:32 +02:00
Thomas Porzelt
20c3e7d6ad
[core] Add li_memory_usage(), clean up some old sys-* files
2010-07-31 15:16:29 +02:00
Stefan Bühler
0fe57dc215
mod_auth: add htdigest and htpasswd (no apr-md5) backend
2009-10-10 19:27:42 +02:00
Stefan Bühler
df96167362
Add automake
2009-07-31 20:36:37 +02:00
Stefan Bühler
f4f2bd1f38
Poison non-thread-safe functions and fix errors
2009-07-16 22:10:41 +02:00
Stefan Bühler
1ce3b7fa24
Remove pcre dependencies (we use the glib wrappers)
2009-07-12 12:29:14 +02:00
Thomas Porzelt
16097f84ea
[core] Fix erronous invisible char in settings.h
2009-05-31 13:57:17 +02:00
Stefan Bühler
3a1af99500
Include <stdio.h> and <stdlib.h> in settings.h for everyone.
2009-04-17 22:14:20 +02:00
Stefan Bühler
0ec334c887
Killed sys-strings.h (replaced with glib functions)
2009-04-17 21:51:39 +02:00
Stefan Bühler
4e04ac6b8b
cmake: use builtin macros for build date
2009-04-15 11:39:21 +02:00
Stefan Bühler
87cd65e98f
Don't check for NULL strings in CONST_STR_LEN
2009-03-12 17:40:09 +01:00
Thomas Porzelt
b0def14e1f
remove wrong ! from sendfile macro for linux
2008-11-23 23:47:10 +01:00
Thomas Porzelt
d2381954bf
removed old AIO defines from settings.h
2008-11-20 20:16:29 +01:00
Stefan Bühler
7a496b610b
Fix comment style // -> /* */
2008-11-18 11:03:59 +01:00
Thomas Porzelt
4080ddcd16
cosmetic changes of 'defined x to defined(x)' in settings.h to unify usage
2008-11-18 21:36:31 +01:00
Thomas Porzelt
75ce595e5b
add LIGHT_OS_XYZ macros
2008-11-18 21:12:10 +01:00
Thomas Porzelt
84b7487cc4
add USE_OSX_SENDFILE macro
2008-11-17 20:24:36 +01:00
Stefan Bühler
3dceeb5916
Move include files into a separate directory and cleanup include order
2008-11-16 21:33:53 +01:00