-
Notifications
You must be signed in to change notification settings - Fork 15
/
PCH.hpp
67 lines (56 loc) · 1.08 KB
/
PCH.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef PRECOMPILED_HEADER_HPP
#define PRECOMPILED_HEADER_HPP
// Allow to use icon for Windows OS applications
#define IS_ENGINE_VS_CODE
#ifndef _DEBUG
#ifndef NDEBUG
#define NDEBUG
#endif
#endif // _DEBUG
// Raspberry Pi
#ifdef SFML_SYSTEM_LINUX
#ifdef __arm__
#define SFML_SYSTEM_PI
#endif
#endif // SFML SYSTEM_LINUX
// Typical stdafx.h
#include <algorithm>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <vector>
// Additional C/C++ libs
#include <atomic>
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <exception>
#include <functional>
#include <iomanip>
#include <mutex>
#include <random>
#include <sstream>
#include <thread>
#include <type_traits>
// Windows
#ifdef _WIN32
#ifndef UNICODE
#define UNICODE
#endif
#ifndef _UNICODE
#define _UNICODE
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif // _WIN32
// Utils
#include "vscode/Utility/Types.hpp"
// Macros
#define _UNUSED(x) (void)(x)
#endif // PRECOMPILED_HEADER_HPP