1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-22 15:11:41 +02:00

w32: Define WINVER only if needed.

* common/sysutils.c (WINVER): Define only if less that 5.0.
This commit is contained in:
Werner Koch 2014-03-07 09:46:44 +01:00
parent 63b7658a29
commit 76b1940ad6

View File

@ -54,7 +54,9 @@
# include <sys/resource.h> # include <sys/resource.h>
#endif #endif
#ifdef HAVE_W32_SYSTEM #ifdef HAVE_W32_SYSTEM
# if WINVER < 0x0500
# define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */ # define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */
# endif
# include <windows.h> # include <windows.h>
#endif #endif
#ifdef HAVE_NPTH #ifdef HAVE_NPTH