Change Encyclo button name and macros icon
[ryzomcore.git] / nel / src / logic / stdlogic.h
blobcdfe3f6f75cd841582ffc5d9497e2892d9a474e2
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef NL_STDLOGIC_H
18 #define NL_STDLOGIC_H
20 #if defined(_MSC_VER) && defined(_DEBUG)
21 #define _CRTDBG_MAP_ALLOC
22 #include <stdlib.h>
23 #include <crtdbg.h>
24 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
25 #endif
27 #include <vector>
28 #include <map>
29 #include <string>
30 #include <limits>
32 #include <libxml/parser.h>
34 #include "nel/misc/types_nl.h"
35 #include "nel/misc/entity_id.h"
36 #include "nel/misc/i_xml.h"
37 #include "nel/misc/o_xml.h"
38 #include "nel/misc/stream.h"
40 #ifdef NL_OS_WINDOWS
41 # define WIN32_LEAN_AND_MEAN
42 # define _WIN32_WINDOWS 0x0500
43 # ifndef _WIN32_WINNT
44 # define _WIN32_WINNT 0x0500
45 # endif
46 # ifndef NL_COMP_MINGW
47 # define WINVER 0x0500
48 # define NOMINMAX
49 # endif
50 # include <WinSock2.h>
51 # include <Windows.h>
52 #endif
54 #endif // NL_STDMISC_H