- Jul 12, 2022
-
-
See functions in https://github.com/NetBSD/src/tree/trunk/lib/libc/stdlib Fixes a leak in tdelete().
-
- Jul 03, 2022
-
-
- Jun 30, 2022
-
-
It's officially supported by the Windows SDK. Callers of these POSIX API's don't expect to check errno is WSAEAFNOSUPPORT.
-
- Jun 28, 2022
-
-
Some of the error codes [1] correspond to errno values [2] [1] https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 [2] https://docs.microsoft.com/en-us/cpp/c-runtime-library/errno-constants
-
- Feb 23, 2022
-
-
Rémi Denis-Courmont authored
This was added over a decade ago, but
...
-
- Sep 16, 2021
-
-
This commit removes conditional code for the Nacl platform.
-
- Sep 05, 2021
-
-
This is to allow clock_nanosleep to be used by emscripten and potentially other platforms. The file should not be compiled on windows platforms, as it won't find sys/errno.h mach/clock_types.h is needed for clock_id_t, and is only available on macos.
-
This is to allow clock_nanosleep code to be used on platforms other than Macosx.
-
- Dec 04, 2020
-
-
Hugo Beauzée-Luyssen authored
Some compilers are now refusing that syntax
-
- Oct 06, 2020
-
-
Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
-
- Jun 30, 2020
-
-
Alexandre Janniaux authored
Use prototype from tsearch(3), fixes the following warning when targetin Android arm API 17. ../../src/misc/variables.c:154:32: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] pp_var = tfind( &psz_name, &priv->var_root, varcmp ); ^~~~~~~~~~~~~~~
-
- Mar 24, 2020
-
-
Marvin Scholz authored
-
Marvin Scholz authored
-
Marvin Scholz authored
-
Marvin Scholz authored
-
- Feb 20, 2020
-
-
Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
-
- Sep 04, 2019
-
-
Rémi Denis-Courmont authored
-
- Jul 26, 2019
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
aligned_alloc() is not portably suitable for over-alignments. posix_memalign()/memalign() are still needed. This essentially reverts commit 34cd9656.
-
Rémi Denis-Courmont authored
-
- Apr 14, 2019
-
-
Rémi Denis-Courmont authored
-
- Jan 22, 2019
-
-
Thomas Guillem authored
-
- Nov 20, 2018
-
-
Rémi Denis-Courmont authored
This should sort properly on Windows and any other platform without qsort_r(). It does _not_ fix any potential issues on any platforms with an incompatible qsort_r() prototype (such as FreeBSD < 13).
-
- Oct 23, 2018
-
-
Fixes android build with NDK 17 as lfind is not always available.
-
- Jun 17, 2018
-
-
Rémi Denis-Courmont authored
-
- May 15, 2018
-
-
Steve Lhomme authored
On mingw64 clock_gettime() is defined in winpthread which we don't want to use. This implementation is based on the winpthread internal processing.
-
- Apr 12, 2018
-
-
Steve Lhomme authored
-
Steve Lhomme authored
-
- Mar 13, 2018
-
-
We detect whether math functions are located in -lm in configure.ac. Reuse the deliberable of this check and link libcompat with $(LIBM). This is required at least for sincos() functions and it has been reported as required on NetBSD 8.0. Signed-off-by:
Rémi Denis-Courmont <remi@remlab.net>
-
- Feb 25, 2018
-
-
Rémi Denis-Courmont authored
We don't need two ways to count trailing zeroes.
-
- Feb 22, 2018
-
-
Rémi Denis-Courmont authored
-
Thomas Guillem authored
Signed-off-by:
Steve Lhomme <robux4@videolabs.io> Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
- Feb 20, 2018
-
-
Rémi Denis-Courmont authored
This adds a thread-safe tdestroy() replacement for systems without it but with tfind(). This should fix linking failures on BSD.
-
- Jul 06, 2017
-
-
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-
- Jun 22, 2017
-
-
On Windows if you allocate aligned memory you need to free it with an aligned version of free. This is similar to the old vlc_memalign() + vlc_free() Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
-
- Jun 19, 2017
-
-
Rémi Denis-Courmont authored
-
- Jun 17, 2017
-
-
Rémi Denis-Courmont authored
-
- Mar 31, 2017
-
-
On Pepper 49, recvmsg and sendmsg are implemented as stubs, which always return ENOTSUP. Proper implementations for these functions will become available in later Pepper versions, which should make these compat functions obsolete. Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
-