Fixed issue #2814: "Git Check for modifications" and Commit dialog runs batch files...
[TortoiseGit.git] / src / TGitCache / stdafx.h
blob394ece7c8b339c95e645b0f2b3562fcb45703fcc
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently, but
3 // are changed infrequently
4 //
6 #pragma once
8 #include "..\targetver.h"
10 #include <tchar.h>
11 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
12 #define CSTRING_AVAILABLE
14 #include <WinSock2.h>
15 #include <Ws2tcpip.h>
16 #include <Wspiapi.h>
18 #include <windows.h>
20 #pragma warning(push)
21 #pragma warning(disable: 4091)
22 #include <ShlObj.h>
23 #pragma warning(pop)
24 #include <Shlwapi.h>
26 #include <atlbase.h>
27 #include <atlstr.h>
29 #include <conio.h>
31 using namespace ATL;
33 #include <string>
34 #include <vector>
35 #include <map>
36 #include <algorithm>
37 #include <deque>
38 #include <functional>
40 #pragma warning(push)
41 #pragma warning(disable: 4510 4610)
42 #include "git2.h"
43 #pragma warning(pop)
44 #include "SmartLibgit2Ref.h"
46 #include "scope_exit_noexcept.h"
47 #include "DebugOutput.h"
49 typedef CComCritSecLock<CComAutoCriticalSection> AutoLocker;
51 #ifdef _WIN64
52 # define APP_X64_STRING "x64"
53 #else
54 # define APP_X64_STRING ""
55 #endif