Use min and max of the C++ STL
[TortoiseGit.git] / test / UnitTests / stdafx.h
blobf038a9d8fec79839b066ca0b7612092e5209f4d5
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
6 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGit\\"
8 #include "../../src\targetver.h"
10 #define NOMINMAX
11 #include <algorithm>
12 using std::min;
13 using std::max;
15 #include <afxwin.h> // MFC core and standard components
16 #include <afxext.h> // MFC extensions
17 #include <WinSock2.h>
18 #include <Ws2tcpip.h>
19 #include <Wspiapi.h>
20 #include <WinInet.h>
22 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
23 #ifndef _AFX_NO_AFXCMN_SUPPORT
24 #include <afxcmn.h> // MFC support for Windows Common Controls
25 #endif // _AFX_NO_AFXCMN_SUPPORT
26 #include <afxdlgs.h>
27 #include <afxctl.h>
28 #include <afxtempl.h>
29 #include <afxmt.h>
30 #include <afxext.h> // MFC extensions
31 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
33 #include <atlbase.h>
35 #include "git2.h"
36 #include "SmartLibgit2Ref.h"
38 #include <string>
39 #include <vector>
40 #include <map>
41 #include <deque>
42 #include <set>
43 #include <functional>
45 #define __WIN32__
47 #include "scope_exit_noexcept.h"
48 #include "DebugOutput.h"
50 #include "SmartHandle.h"
52 // Header for gtest
53 #include "gtest/gtest.h"
54 #include "gmock/gmock.h"
56 #include "AutoTempDir.h"