install 32bit tortoise overlay on x64
[TortoiseGit.git] / src / TortoiseMerge / stdafx.h
blob28421e31bb7821de0335ab9afac25e6a9558ecbf
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently,
3 // but are changed infrequently
5 #pragma once
7 #ifndef VC_EXTRALEAN
8 //#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
9 #endif
11 // Modify the following defines if you have to target a platform prior to the ones specified below.
12 // Refer to MSDN for the latest info on corresponding values for different platforms.
13 #ifndef WINVER // Allow use of features specific to Windows 2000 or later.
14 #define WINVER 0x0501 // Change this to the appropriate value to target Windows 2000 or later.
15 #endif
17 #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
18 #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
19 #endif
21 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 2000 or later.
22 #define _WIN32_WINDOWS 0x0500 // Change this to the appropriate value to target Windows Me or later.
23 #endif
25 #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
26 #define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
27 #endif
29 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
31 // turns off MFC's hiding of some common and often safely ignored warning messages
32 #define _AFX_ALL_WARNINGS
34 #include <afxwin.h> // MFC core and standard components
35 #include <afxext.h> // MFC extensions
36 #include <afxdisp.h> // MFC Automation classes
37 #include <afxcoll.h> // MFC Collection templates and classes
38 #include <shlwapi.h> // Shell API
40 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
41 #ifndef _AFX_NO_AFXCMN_SUPPORT
42 #include <afxcmn.h> // MFC support for Windows Common Controls
43 #endif // _AFX_NO_AFXCMN_SUPPORT
45 #include <WinSock2.h>
46 #include <Ws2tcpip.h>
47 #include <Wspiapi.h>
49 #include <afxdlgs.h>
50 #include <afxctl.h>
51 #include <afxext.h> // MFC extensions
52 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
54 #ifndef LVS_EX_DOUBLEBUFFER
55 #define LVS_EX_DOUBLEBUFFER 0x00010000
56 #endif
58 #pragma warning(push)
59 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
60 #include <vfw.h>
61 #pragma warning(pop)
63 #pragma warning(push)
64 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
65 #include <string>
66 #include <map>
67 #include <vector>
68 #pragma warning(pop)
70 #define USE_GDI_GRADIENT
72 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseMerge\\"
74 #ifdef _WIN64
75 # define APP_X64_STRING "x64"
76 #else
77 # define APP_X64_STRING ""
78 #endif