Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,18 @@ else(CMAKE_CL_64)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/lib)
endif(CMAKE_CL_64)

# Previously in source files:
# #define WINVER 0x0500
# #define _WIN32_WINNT 0x0501
# #define _WIN32_IE 0x0501
# #define _RICHEDIT_VER 0x0200

# Precompiled headers stuff (CMake doesn't have a standard command for enabling precompiled headers,
# so we have to use a macro)
if (WIN32)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-DWINVER=0x600)
endif()

MACRO(ADD_MSVC_PRECOMPILED_HEADER PrecompiledHeader PrecompiledSource SourcesVar)
IF(MSVC)
GET_FILENAME_COMPONENT(PrecompiledBasename ${PrecompiledHeader} NAME_WE)
Expand Down
20 changes: 0 additions & 20 deletions demos/MFCDemo/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,6 @@ be found in the Authors.txt file in the root of the source tree.
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif

// 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 WINVER // Allow use of features specific to Windows XP or later.
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit

// turns off MFC's hiding of some common and often safely ignored warning messages
Expand All @@ -51,8 +33,6 @@ be found in the Authors.txt file in the root of the source tree.

#include <afxdisp.h> // MFC Automation classes



#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#endif
Expand Down
6 changes: 0 additions & 6 deletions demos/WTLDemo/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ be found in the Authors.txt file in the root of the source tree.

#pragma once

// Change these values to use different versions
#define WINVER 0x0500
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0501
#define _RICHEDIT_VER 0x0200

#include <atldef.h>
#if ( _ATL_VER < 0x0800 )
#define _WTL_SUPPORT_SDK_ATL3 // Support of VC++ Express 2005 and ATL 3.0
Expand Down
18 changes: 0 additions & 18 deletions processing/crashrptprobe/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,6 @@ be found in the Authors.txt file in the root of the source tree.

#pragma once

// 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 WINVER // Allow use of features specific to Windows XP or later.
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif

#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif

#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif

#include <errno.h>
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
Expand Down
6 changes: 0 additions & 6 deletions reporting/crashrpt/StdAfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ be found in the Authors.txt file in the root of the source tree.

#pragma once

// Change these values to use different versions
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0600
#define _RICHEDIT_VER 0x0200

#include <errno.h>
#include <atldef.h>
#if ( _ATL_VER < 0x0710 )
Expand Down
6 changes: 0 additions & 6 deletions reporting/crashsender/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ be found in the Authors.txt file in the root of the source tree.

#pragma once

// Change these values to use different versions
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0600
#define _RICHEDIT_VER 0x0200

typedef __int64 off_t, _off_t;
#define _OFF_T_DEFINED

Expand Down
6 changes: 0 additions & 6 deletions tests/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ be found in the Authors.txt file in the root of the source tree.

#pragma once

// Change these values to use different versions
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0600
#define _RICHEDIT_VER 0x0200

#include <errno.h>
#include <winsock2.h>
#include <ws2tcpip.h>
Expand Down
94 changes: 0 additions & 94 deletions thirdparty/wtl/CPL.TXT

This file was deleted.

22 changes: 22 additions & 0 deletions thirdparty/wtl/MS-PL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Microsoft Public License (MS-PL)

This license governs use of the accompanying software. If you use the software, you
accept this license. If you do not accept the license, do not use the software.

1. Definitions
The terms "reproduce," "reproduction," "derivative works," and "distribution" have the
same meaning here as under U.S. copyright law.
A "contribution" is the original software, or any additions or changes to the software.
A "contributor" is any person that distributes its contribution under this license.
"Licensed patents" are a contributor's patent claims that read directly on its contribution.

2. Grant of Rights
(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.

3. Conditions and Limitations
(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
Loading