bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gc-gnulib.c on mingw


From: Simon Josefsson
Subject: Re: gc-gnulib.c on mingw
Date: Mon, 21 Apr 2008 10:58:58 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Hi Simon,
>
> Trying to compile the crypto/gc module on mingw (cross from cygwin), I got
> this compilation error:
...
> This simple modification fixed it for me. OK to apply?

Hi Bruno.  Yes, please do.

Thanks,
Simon

> 2008-04-20  Bruno Haible  <address@hidden>
>
>       * lib/gc-gnulib.c: Include <windows.h> before <wincrypt.h>.
>
> *** lib/gc-gnulib.c.orig      2008-04-20 09:58:04.000000000 +0200
> --- lib/gc-gnulib.c   2008-04-20 09:57:50.000000000 +0200
> ***************
> *** 75,80 ****
> --- 75,81 ----
>   
>   #ifdef GNULIB_GC_RANDOM
>   # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
> + #  include <windows.h>
>   #  include <wincrypt.h>
>   HCRYPTPROV g_hProv = 0;
>   # endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]