Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 32d18dcf | 2024-02-09 04:32:12 | Add explicit time32 and time64 support Handle the three potential system scenarios: - system time_t is time64 - system time_t is time32 and supports time64 - system time_t is time32 and does not support time64 Add the explicit time32 and time64 functions when necessary and map them accordingly for each of these cases. | ||
| fe21244b | 2022-12-20 22:47:02 | include: Use __has_builtin to detect __builtin_offsetof support The __has_builtin operator is more specific and is supported by GCC and Clang, while __is_identifier() is less specific and only supported by Clang, so we should prefer the former whenever it is available, and only fallback to use the latter when the former is missing and the latter. | ||
| 1c3ff616 | 2021-02-09 02:46:49 | Use uintptr_t and size_t instead of __-prefixed types in <sys/cdefs.h> The __-prefixed types cannot be assumed to be defined. Use the standard types instead. Closes: #6 | ||
| 46760262 | 2021-02-07 20:47:00 | Update <sys/queue.h> from FreeBSD This brings <sys/queue.h> to the most up-to-date version from FreeBSD, incorporating 18 commits from the past 5 years (2015-02-24 - 2021-01-25): $ git log --oneline 9090a24aed70..8d55837dc133 sys/sys/queue.h share/man/man3/queue.3 Only minimal changes compared to the FreeBSD version have been applied (queue.3 -> queue.3bsd, _LIBBSD_ prefix). [guillem@hadrons.org: Remove reference to kernel mode in man page. ] Closes: !12 Signed-off-by: Guillem Jover <guillem@hadrons.org> | ||
| 48033408 | 2018-06-14 11:38:32 | Provide a <sys/param.h> with MIN() and MAX() Windows doesn't provide <sys/param.h>. Several libbsd sources require it for MIN(), and these are useful non-system-specific macros anyway. Signed-off-by: Guillem Jover <guillem@hadrons.org> | ||
| 7cfa2d45 | 2018-06-14 11:38:31 | Correct Clang feature detection Clang's __GNUC__ and __GNUC_MINOR__ definitions are not reliable and may not be defined at all when targeting the MSVC ABI. Use feature-checking macros when possible or check for __clang__. [guillem@hadrons.org: Update for __ protected keyword change. ] Signed-off-by: Guillem Jover <guillem@hadrons.org> | ||
| 574c7a13 | 2018-06-18 00:36:44 | Protect C language extensions with two leading and trailing underscores This should make their usage safer against user macros. | ||
| c2d9d840 | 2018-06-14 11:38:32 | Guard non-portable forwarded includes These headers are not available on Windows. <bsd/sys/cdefs.h> ensures that __has_include() and __has_include_next() are defined. Signed-off-by: Guillem Jover <guillem@hadrons.org> | ||
| bf697b90 | 2018-05-22 15:43:48 | Add symbol redirection support We need this to be able to select different version symbols at compile-time. | ||
| 30b4d507 | 2018-05-21 03:00:47 | Add __arraycount() macro from NetBSD |