mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
w32: Define WINVER only if needed.
* common/sysutils.c (WINVER): Define only if less that 5.0.
This commit is contained in:
parent
63b7658a29
commit
76b1940ad6
@ -54,7 +54,9 @@
|
||||
# include <sys/resource.h>
|
||||
#endif
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
# define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */
|
||||
# if WINVER < 0x0500
|
||||
# define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */
|
||||
# endif
|
||||
# include <windows.h>
|
||||
#endif
|
||||
#ifdef HAVE_NPTH
|
||||
|
Loading…
x
Reference in New Issue
Block a user