Merge branch 'main/rendor-staging' into fixes
[ryzomcore.git] / nel / src / ligo / stdligo.h
blob2888618719c4d8dd303b122b2f76536ec1a7281b
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2014 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
6 //
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Affero General Public License as
9 // published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU Affero General Public License for more details.
17 // You should have received a copy of the GNU Affero General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef STDLIGO_H
21 #define STDLIGO_H
23 #if defined(_MSC_VER) && defined(_DEBUG)
24 #define _CRTDBG_MAP_ALLOC
25 #include <stdlib.h>
26 #include <crtdbg.h>
27 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
28 #endif
30 #include <algorithm>
31 #include <cmath>
32 #include <csignal>
33 #include <cstdarg>
34 #include <cstddef>
35 #include <cstdio>
36 #include <cstdlib>
37 #include <cstring>
38 #include <ctime>
39 #include <deque>
40 #include <exception>
41 #include <iomanip>
42 #include <iostream>
43 #include <limits>
44 #include <list>
45 #include <map>
46 #include <memory>
47 #include <numeric>
48 #include <set>
49 #include <string>
50 #include <typeinfo>
51 #include <utility>
52 #include <vector>
53 #include <cstdlib>
55 // Include from libxml2
56 #include <libxml/parser.h>
58 #include "nel/misc/types_nl.h"
59 #include "nel/misc/debug.h"
60 #include "nel/misc/common.h"
61 #include "nel/misc/fast_mem.h"
62 #include "nel/misc/system_info.h"
63 #include "nel/misc/mem_displayer.h"
64 #include "nel/misc/matrix.h"
65 #include "nel/misc/stream.h"
66 #include "nel/misc/path.h"
67 #include "nel/misc/string_common.h"
68 #include "nel/misc/config_file.h"
69 #include "nel/misc/i_xml.h"
70 #include "nel/misc/o_xml.h"
71 #include "nel/misc/hierarchical_timer.h"
72 #include "nel/misc/vector.h"
73 #include "nel/misc/rgba.h"
74 #include "nel/misc/file.h"
76 #ifdef NL_OS_WINDOWS
77 #ifndef NL_COMP_MINGW
78 #define NOMINMAX
79 #endif
80 #include <windows.h>
81 #endif
83 #endif