Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam777Z committed Jul 22, 2021
1 parent 1a88954 commit ee845c3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions XboxGuideButtonMapToKey.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
<ClInclude Include="qsb.hpp" />
<ClInclude Include="resource.h" />
<ClInclude Include="Signal.hpp" />
<ClInclude Include="targetver.h" />
<ClInclude Include="VariadicTools.hpp" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions XboxGuideButtonMapToKey.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="resource.rc">
Expand Down
1 change: 1 addition & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "INI.hpp"

#include "targetver.h"
#include <windows.h>
#include "Signal.hpp"

Expand Down
15 changes: 15 additions & 0 deletions targetver.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

// Including SDKDDKVer.h defines the highest available Windows platform.

// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.

// 0x0601 is Windows 7

#include <WinSDKVer.h>

#define WINVER 0x0601
#define _WIN32_WINNT 0x0601

#include <SDKDDKVer.h>

0 comments on commit ee845c3

Please sign in to comment.