Skip to content

Commit

Permalink
mumble_pch.hpp: Manually define _WIN32_WINNT for MinGW on Linux
Browse files Browse the repository at this point in the history
This is needed because "qos2.h" checks if the Windows version is equal or greater than 0x0600 (Windows Vista/Windows Server 2008).
  • Loading branch information
davidebeatrici committed Mar 5, 2017
1 parent e7d4cca commit c506533
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mumble/mumble_pch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
#define interface struct
#endif

#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0600 // We need to do this for MinGW on Linux
#endif
#include <winsock2.h>
#include <qos2.h>
#include <windows.h>
Expand Down

0 comments on commit c506533

Please sign in to comment.