Skip to content

Commit bdd6ec9

Browse files
committed
fixed missing targetver.h and updated to upx 3.95
1 parent e5184ca commit bdd6ec9

File tree

5 files changed

+30
-14
lines changed

5 files changed

+30
-14
lines changed

DebugView++/stdafx.h

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@
88
#pragma once
99

1010
#define NOMINMAX
11-
12-
// Change these values to use different versions
13-
#define WINVER 0x0600
14-
#define _WIN32_WINNT 0x0600
15-
#define _WIN32_IE 0x0603
16-
#define _RICHEDIT_VER 0x0300
17-
18-
#define _WTL_NO_CSTRING
11+
#define WIN32_LEAN_AND_MEAN
1912
#define _CRT_NON_CONFORMING_SWPRINTFS
2013
#define _CRT_SECURE_NO_WARNINGS
14+
#define _WTL_NO_CSTRING
15+
16+
#include "targetver.h"
2117

2218
#include <cstdint>
2319
#include <algorithm>
24-
using std::min;
25-
using std::max;
2620

2721
#include <boost/asio.hpp> // must be included _before_ windows.h
2822
#include "windows.h"

DebugView++/targetver.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// (C) Copyright Gert-Jan de Vos and Jan Wilmans 2013.
2+
// Distributed under the Boost Software License, Version 1.0.
3+
// (See accompanying file LICENSE_1_0.txt or copy at
4+
// http://www.boost.org/LICENSE_1_0.txt)
5+
6+
// Repository at: https://github.com/djeedjay/DebugViewPP/
7+
8+
#pragma once
9+
10+
// Including SDKDDKVer.h defines the highest available Windows platform.
11+
12+
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
13+
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
14+
15+
#include <WinSDKVer.h>
16+
#define WINVER 0x0600
17+
#define _WIN32_WINNT 0x0600
18+
#define _WIN32_IE 0x0603
19+
#define _RICHEDIT_VER 0x0300
20+
#include <SDKDDKVer.h>
21+
22+

DebugView++/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#define VERSION 1,8,0,50
2-
#define VERSION_STR "1.8.0.50"
1+
#define VERSION 1,8,0,57
2+
#define VERSION_STR "1.8.0.57"

DebugView++/version.wxi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<?define ProductVersion.Major="1" ?>
44
<?define ProductVersion.Minor="8" ?>
55
<?define ProductVersion.Revision="0" ?>
6-
<?define ProductVersion.Build="50" ?>
7-
<?define ProductVersion="1.8.0.50" ?>
6+
<?define ProductVersion.Build="57" ?>
7+
<?define ProductVersion="1.8.0.57" ?>
88
</Include>

upx.exe

41 KB
Binary file not shown.

0 commit comments

Comments
 (0)