[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 18:43:06 CET 2019


Nikos Mavrogiannopoulos started a new 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

do we need this at all?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/916#note_139898872
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/c435fd1f/attachment.html>


More information about the Gnutls-devel mailing list