Use STL algorithms more often
[TortoiseGit.git] / src / GitWCRev / stdafx.h
blob8bd51879f942ee499fc7b3819bb13bb260dd0ec3
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 #define _CRT_SECURE_NO_WARNINGS
9 #define NOMINMAX
10 #include <algorithm>
11 using std::max;
12 using std::min;
14 #include "../targetver.h"
16 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
17 #include <windows.h>
19 #include "git2.h"
20 #include "SmartLibgit2Ref.h"
22 #include <vector>
23 #include <set>
24 #include <tuple>
25 #include <memory>
27 #include <tchar.h>
28 #include <Shlwapi.h>
29 #include <shellapi.h>
31 #ifdef _WIN64
32 # define APP_X64_STRING "x64"
33 #else
34 # define APP_X64_STRING ""
35 #endif