[gnutls-devel] GnuTLS | Remove typedef'ing ssize_t in gnutls.h (!916)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sun Feb 10 19:50:57 CET 2019
Tim Rühsen commented on a discussion on configure.ac:
>
> AM_CONDITIONAL(NEED_LIBOPTS, test "$included_libopts" = "yes")
>
> -AC_CHECK_TYPE(ssize_t,
> - [
> - DEFINE_SSIZE_T="#include <sys/types.h>"
> - AC_SUBST(DEFINE_SSIZE_T)
> - ], [
> - AC_DEFINE([NO_SSIZE_T], 1, [no ssize_t type was found])
> - DEFINE_SSIZE_T="typedef int ssize_t;"
> - AC_SUBST(DEFINE_SSIZE_T)
> - ], [
> - #include <sys/types.h>
> - ])
> +# make sure we have a 'ssize_t' type
> +AC_TYPE_SSIZE_T
If we need it or not depends on the official list of supported (build) platforms.
But it doesn't hurt to include it.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/916#note_139903597
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190210/6743eec7/attachment.html>
More information about the Gnutls-devel
mailing list