[gnutls-devel] GnuTLS requires a C99 compiler on W32
Nikos Mavrogiannopoulos
nmav at gnutls.org
Wed Oct 2 00:27:14 CEST 2013
On 10/01/2013 07:07 PM, LRN wrote:
> GnuTLS uses gnulib's time.h, which has the following:
> _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict
> __timer, struct tm *restrict __result) _GL_ARG_NONNULL ((1, 2)));
[...]
> The "#define restrict __restrict" from config.h doesn't reach gnulib
> here, because tpm.c doesn't include config.h
> Adding
> #ifdef HAVE_CONFIG_H
> #include <config.h>
> #endif
> to tpm.c fixes this.
I've committed a fix.
Thank you,
Nikos
More information about the Gnutls-devel
mailing list