[PATCH] add missing include wincrypt.h

Eli Zaretskii eliz at gnu.org
Fri Jun 8 07:54:46 CEST 2012


> From: Scott Michel <Scott.Michel at aero.org>
> Date: Thu, 7 Jun 2012 11:35:18 -0700
> Cc: Nikos Mavrogiannopoulos <nmav at gnutls.org>,
>  gnutls-devel at gnu.org
> 
> Also might want to check for __WIN64__ as well, since that's becoming more prevalent.

I think every compiler that defines __WIN64__ also defines _WIN32.

> I'd also suggest "defined(...)" around the macro names. GCC is notorious for complaining when macros aren't defined but whose values are tested.

??? Are you sure you are talking about GCC and not some other
compiler?  Can you give an example of such notorious complaints?
FWIW, I've never seen any.




More information about the Gnutls-devel mailing list