Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / nel / src / gui / stdpch.h
blob4b4a1a99eb0e3f131fe73e6652c99949094c5c94
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010-2017 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 // Copyright (C) 2014 Laszlo KIS-ADAM (dfighter) <dfighter1985@gmail.com>
7 //
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Affero General Public License as
10 // published by the Free Software Foundation, either version 3 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Affero General Public License for more details.
18 // You should have received a copy of the GNU Affero General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef NELGUI_H
22 #define NELGUI_H
24 #if defined(_MSC_VER) && defined(_DEBUG)
25 #define _CRTDBG_MAP_ALLOC
26 #include <stdlib.h>
27 #include <crtdbg.h>
28 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
29 #endif
31 #include <string>
32 #include <limits>
33 #include <ctime>
35 #include "nel/misc/types_nl.h"
36 #include "nel/misc/algo.h"
37 #include "nel/misc/factory.h"
38 #include "nel/misc/bit_mem_stream.h"
39 #include "nel/misc/i18n.h"
40 #include "nel/misc/path.h"
41 #include "nel/misc/file.h"
42 #include "nel/misc/uv.h"
43 #include "nel/misc/hierarchical_timer.h"
45 #include <libxml/parser.h>
47 #ifdef NL_OS_WINDOWS
48 #ifndef NL_COMP_MINGW
49 # define NOMINMAX
50 #endif
51 #include <WinSock2.h>
52 #include <windows.h>
53 #endif
55 #endif