Skip to content

Commit

Permalink
Fix _WIN32_WINNT
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax committed Sep 16, 2024
1 parent 193dd28 commit 10d6d06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/downloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif

#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
Expand Down

0 comments on commit 10d6d06

Please sign in to comment.