Updated Tortoise.pot
[TortoiseGit.git] / src / TGitCache / stdafx.h
blobedbadf02c147d48f5bb6268c52fc23f2a8dc64e8
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 #include <Shlobj.h>
21 #include <Shlwapi.h>
23 #include <atlbase.h>
24 #include <atlstr.h>
26 #include <conio.h>
28 using namespace ATL;
30 #pragma warning(push)
31 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
32 #include <string>
33 #include <vector>
34 #include <map>
35 #include <algorithm>
36 #include <deque>
37 #pragma warning(pop)
40 typedef CComCritSecLock<CComAutoCriticalSection> AutoLocker;
42 // Temporary fix for people not using the latest SDK
43 #ifndef PROCESS_MODE_BACKGROUND_BEGIN
44 #define PROCESS_MODE_BACKGROUND_BEGIN 0x00100000
45 #endif
46 #ifndef THREAD_MODE_BACKGROUND_BEGIN
47 #define THREAD_MODE_BACKGROUND_BEGIN 0x00010000
48 #endif
49 #ifndef THREAD_MODE_BACKGROUND_END
50 #define THREAD_MODE_BACKGROUND_END 0x00020000
51 #endif
53 #ifdef _WIN64
54 # define APP_X64_STRING "x64"
55 #else
56 # define APP_X64_STRING ""
57 #endif