kc3-lang/libbsd/include

Branch :


Log

Author Commit Date CI Message
thodg 369616fb 2025-02-14 17:41:28 missing uid_t and gid_t on win32
thodg 472df5b6 2025-02-14 00:36:48 fix build on msys2 clang64
thodg 53d4e1c5 2025-02-04 15:16:48 fix build on win10 msys2 clang64
abe3c8c3 2024-11-02 23:14:11 include: Switch from __unused to new LIBBSD_UNUSED Because we do not define __unused, as on GNU systems Linux and glibc providing conflicting symbols, declarations for imported functions that use that attribute cause build failures when used. Ref: https://bugs.debian.org/1083196 Fixes: #34
1d711a2c 2024-11-02 23:12:40 include: Refactor «unused» attribute into new LIBBSD_UNUSED macro This make it possible to declare function arguments in headers as potentially unused, so that they do not emit warnings. We will use this instead of the BSD __unused, which we cannot currently enable on GNU systems due to Linux and glibc having conflicting symbols.
08188f3c 2024-02-28 04:37:44 build: Install err.h if either of the err or errc modules are built Both modules expose their functions in err.h, so we need to install it whenever any of them is being built. Reported-by: Alejandro Colomar <alx@kernel.org>
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.
605614d6 2024-02-12 03:00:06 build: Add support for AIX
ec7f5ee9 2024-02-12 01:04:37 Add vasprintf() and asprintf() functions missing on AIX These functions are used by code in the library, even though these functions started as GNU extensions, they are present in all BSDs, so we expose them as part of our interface on AIX.
be4aced4 2024-02-11 23:55:40 build: Make almost all exposed interfaces use the new ABI selection Explicitly select what to include as part of the target ABI, instead of letting autoconfiguration potentially break ABI if the system grows functionality provided by the library. Make almost all the library selectable per target. Do not install manual pages for interfaces not included in the library. Control inclusion of symbols in map file via pre-processor macros, and move the comments describing the ABI selection to configure.ac. For now the header files are included as is and filtered through pre-processor conditionals. Eventually they might get switched to be autogenerated at build time.