Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
pch_stdlib.h
Go to the documentation of this file.
1/* Copyright (C) 2025 Wildfire Games.
2 *
3 * Permission is hereby granted, free of charge, to any person obtaining
4 * a copy of this software and associated documentation files (the
5 * "Software"), to deal in the Software without restriction, including
6 * without limitation the rights to use, copy, modify, merge, publish,
7 * distribute, sublicense, and/or sell copies of the Software, and to
8 * permit persons to whom the Software is furnished to do so, subject to
9 * the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included
12 * in all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 */
22
23#ifndef INCLUDED_PCH_STDLIB
24#define INCLUDED_PCH_STDLIB
25
26// IWYU pragma: begin_keep
27
28#if !MINIMAL_PCH
29// all new-form C library headers
30#include <cassert>
31#include <cctype>
32#include <cerrno>
33#include <cfloat>
34//#include <ciso646> // defines e.g. "and" to "&". unnecessary and causes trouble with asm.
35#include <climits>
36#include <clocale>
37#include <cmath>
38//#include <csetjmp> // incompatible with libpng on Debian/Ubuntu
39#include <csignal>
40#include <cstdarg>
41#include <cstddef>
42#include <cstdio>
43#include <cstdlib>
44#include <cstring>
45#include <ctime>
46#include <cwchar>
47#include <cwctype>
48#endif // !MINIMAL_PCH
49
50#if MINIMAL_PCH < 3
51// common C++98 STL headers
52#include <algorithm>
53#include <iterator>
54#include <list>
55#include <map>
56#include <memory>
57#include <set>
58#include <string>
59#include <utility>
60#include <vector>
61#endif
62
63#if MINIMAL_PCH < 2
64// all other C++98 STL headers
65#include <deque>
66#include <functional>
67#include <numeric>
68#include <queue>
69#include <stack>
70#endif
71
72#if !MINIMAL_PCH
73// all other C++98 headers
74#include <bitset>
75#include <complex>
76#include <exception>
77#include <fstream>
78#include <iomanip>
79#include <ios>
80#include <iosfwd>
81#include <iostream>
82#include <istream>
83#include <limits>
84#include <locale>
85#include <new>
86#include <ostream>
87#include <sstream>
88#include <stdexcept>
89#include <streambuf>
90#include <sstream>
91#include <typeinfo>
92#include <valarray>
93#endif // !MINIMAL_PCH
94
95// IWYU pragma: end_keep
96
97#endif // #ifndef INCLUDED_PCH_STDLIB