Skip to content

Commit

Permalink
encmain.c: guard WINVER and _WIN32_WINNT macros
Browse files Browse the repository at this point in the history
  • Loading branch information
vtorri committed Apr 12, 2024
1 parent 0711762 commit 6af2290
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/encmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@

#ifdef _WIN32
/* The following two defines must be located before the inclusion of any system header files. */
#ifndef WINVER
#define WINVER 0x0500
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif

#include "global.h" // IWYU pragma: keep

Expand Down

0 comments on commit 6af2290

Please sign in to comment.