mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
w32: Fix build problem with dirmngr.
* dirmngr/ks-engine-hkp.c (EAI_SYSTEM) [W32]: Add replacement constant.
This commit is contained in:
parent
45ed901c46
commit
141d69cb2a
2 changed files with 9 additions and 2 deletions
|
@ -40,10 +40,17 @@
|
|||
#include "userids.h"
|
||||
#include "ks-engine.h"
|
||||
|
||||
/* Substitute a missing Mingw macro. */
|
||||
/* Substitutes for missing Mingw macro. The EAI_SYSTEM mechanism
|
||||
seems not to be available (probably because there is only one set
|
||||
of error codes anyway). For now we use WSAEINVAL. */
|
||||
#ifndef EAI_OVERFLOW
|
||||
# define EAI_OVERFLOW EAI_FAIL
|
||||
#endif
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
# ifndef EAI_SYSTEM
|
||||
# define EAI_SYSTEM WSAEINVAL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Number of seconds after a host is marked as resurrected. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue