bool* arguments can be used by wrappers
[lqt.git] / cpptoxml / parser / rpp / pp.h
blob5ed923ecb3ee62e85d1f3600e7f4acee13ad6569
1 /****************************************************************************
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 ** Copyright 2005 Roberto Raggi <roberto@kdevelop.org>
5 **
6 ** This file is part of $PRODUCT$.
7 **
8 ** $CPP_LICENSE$
9 **
10 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 ****************************************************************************/
15 #ifndef PP_H
16 #define PP_H
18 #if defined(_WIN64) || defined(WIN64) || defined(__WIN64__) \
19 || defined(_WIN32) || defined(WIN32) || defined(__WIN32__)
20 # define PP_OS_WIN
21 #endif
23 #include <set>
24 #include <map>
25 #include <vector>
26 #include <string>
27 #include <iterator>
28 #include <iostream>
29 #include <cassert>
30 #include <cctype>
32 #include <fcntl.h>
34 #ifdef HAVE_MMAP
35 # include <sys/mman.h>
36 #endif
38 #include <sys/stat.h>
39 #include <sys/types.h>
41 #if (_MSC_VER >= 1400)
42 # define FILENO _fileno
43 #else
44 # define FILENO fileno
45 #endif
47 #if defined (PP_OS_WIN)
48 # define PATH_SEPARATOR '\\'
49 #else
50 # define PATH_SEPARATOR '/'
51 #endif
53 #if defined (RPP_JAMBI)
54 # include "rxx_allocator.h"
55 #else
56 # include "rpp-allocator.h"
57 #endif
59 #if defined (_MSC_VER)
60 # define pp_snprintf _snprintf
61 #else
62 # define pp_snprintf snprintf
63 #endif
65 #include "pp-fwd.h"
66 #include "pp-cctype.h"
67 #include "pp-string.h"
68 #include "pp-symbol.h"
69 #include "pp-internal.h"
70 #include "pp-iterator.h"
71 #include "pp-macro.h"
72 #include "pp-environment.h"
73 #include "pp-scanner.h"
74 #include "pp-macro-expander.h"
75 #include "pp-engine.h"
76 #include "pp-engine-bits.h"
78 #endif // PP_H
80 // kate: space-indent on; indent-width 2; replace-tabs on;