diff --git a/common/sysutils.c b/common/sysutils.c index a00cd94d1..f0c2ad8a8 100644 --- a/common/sysutils.c +++ b/common/sysutils.c @@ -54,7 +54,9 @@ # include #endif #ifdef HAVE_W32_SYSTEM -# define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */ +# if WINVER < 0x0500 +# define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */ +# endif # include #endif #ifdef HAVE_NPTH