Skip to content

Commit

Permalink
Update winver setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tscbp committed Sep 10, 2015
1 parent de7a8c2 commit aa8b0ef
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
8 changes: 1 addition & 7 deletions libplatform/platform_win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@
# define _USE_32BIT_TIME_T
#endif

// set minimum win32 API requirement to Windows 2000 or higher
#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0500
#endif
#ifndef WINVER
# define WINVER 0x0500
#endif
#include "targetver.h"

///////////////////////////////////////////////////////////////////////////////

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

// The following macros define the minimum required platform. The minimum required platform
// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
// your application. The macros work by enabling all features available on platform versions up to and
// including the version specified.

// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows 7.
#define _WIN32_WINNT 0x0601 // Change this to the appropriate value to target other versions of Windows.
#endif
1 change: 1 addition & 0 deletions mp4v2-Win/libmp4v2/libmp4v2.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@
<ClInclude Include="..\..\include\mp4v2\itmf_tags.h" />
<ClInclude Include="..\..\include\mp4v2\mp4v2.h" />
<ClInclude Include="..\..\include\mp4v2\platform.h" />
<ClInclude Include="..\..\libplatform\targetver.h" />
<ClInclude Include="..\include\mp4v2\project.h" />
<ClInclude Include="..\..\include\mp4v2\sample.h" />
<ClInclude Include="..\..\include\mp4v2\streaming.h" />
Expand Down

0 comments on commit aa8b0ef

Please sign in to comment.