src/helper.c


Log

Author Commit Date CI Message
Guillem Jover b7d06e0d 2021-02-19T23:56:07 Fix signedness type mismatch comparisons Change the variable type or use a cast. Warned-by: gcc
Michael Haubenwallner 9a77023f 2019-08-22T16:55:44 build: Use <unistd.h> only if available Some target platforms do not have <unistd.h>, notably Windows when using vanilla MSVC toolchain. Note: The AC_CHECK_HEADERS([unistd.h]) is redundant with LT_INIT, but there is no guarantee for that. [guillem@hadrons.org: - Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER. - Quote argument to AC_CHECK_HEADERS. ] Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover 0def1829 2017-06-01T03:00:05 Stop using non-portable <sys/param.h> There are platforms without <sys/param.h>, so we better avoid the header altogether, and add the required MIN macro outselves. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover c3c8d859 2017-06-01T02:43:22 build: Drop GCC specific compiler flag -include Instead, explicitly include <config.h> in library and test source files for increased portability. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Guillem Jover 18ebbe24 2012-05-29T05:44:54 Use stdint types instead of BSD u_int ones
Guillem Jover ee0b2299 2011-05-29T03:22:21 Initial import from OpenBSD and NetBSD