Skip to content

Commit

Permalink
Merge pull request #405 from vtorri/vtorri_win32_winnt
Browse files Browse the repository at this point in the history
encmain.c: guard WINVER and _WIN32_WINNT macros
  • Loading branch information
Jovasa authored Apr 15, 2024
2 parents 0711762 + 6af2290 commit bb836ff
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 bb836ff

Please sign in to comment.