source: NonGTP/Xerces/xerces-c_2_8_0/include/xercesc/util/Compilers/QCCDefs.hpp @ 2674

Revision 2674, 4.2 KB checked in by mattausch, 16 years ago (diff)
Line 
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18/*
19 * $Id: QCCDefs.hpp 568078 2007-08-21 11:43:25Z amassari $
20 */
21
22#if !defined(QCCDEFS_HPP)
23#define QCCDEFS_HPP
24
25// ---------------------------------------------------------------------------
26//  Include some runtime files that will be needed product wide
27// ---------------------------------------------------------------------------
28#include <sys/types.h> 
29#include <limits.h> 
30#include <inttypes.h>
31
32// ---------------------------------------------------------------------------
33//  A define in the build for each project is also used to control whether
34//  the export keyword is from the project's viewpoint or the client's.
35//  These defines provide the platform specific keywords that they need
36//  to do this.
37// ---------------------------------------------------------------------------
38#define PLATFORM_EXPORT
39#define PLATFORM_IMPORT
40
41// ---------------------------------------------------------------------------
42//  Indicate that we do not support native bools
43//  If the compiler can handle boolean itself, do not define it
44// ---------------------------------------------------------------------------
45// #define NO_NATIVE_BOOL
46
47// ---------------------------------------------------------------------------
48//  Each compiler might support L"" prefixed constants. There are places
49//  where it is advantageous to use the L"" where it supported, to avoid
50//  unnecessary transcoding.
51//  If your compiler does not support it, don't define this.
52// ---------------------------------------------------------------------------
53// #define XML_LSTRSUPPORT
54
55// ---------------------------------------------------------------------------
56//  Indicate that we support C++ namespace
57//  Do not define it if the compile cannot handle C++ namespace
58// ---------------------------------------------------------------------------
59#define XERCES_HAS_CPP_NAMESPACE
60
61// ---------------------------------------------------------------------------
62//  Define our version of the XML character
63// ---------------------------------------------------------------------------
64typedef uint16_t XMLCh;
65
66// ---------------------------------------------------------------------------
67//  Define unsigned 16 and 32 bits integers
68// ---------------------------------------------------------------------------
69typedef uint16_t XMLUInt16;
70typedef uint32_t XMLUInt32;
71
72// ---------------------------------------------------------------------------
73//  Define signed 32 bits integers
74// ---------------------------------------------------------------------------
75typedef int32_t  XMLInt32;
76
77// ---------------------------------------------------------------------------
78//  XMLSize_t is the unsigned integral type.
79// ---------------------------------------------------------------------------
80typedef size_t              XMLSize_t;
81#define XML_SIZE_MAX        SIZE_MAX
82typedef ssize_t             XMLSSize_t;
83#define XML_SSIZE_MAX       SSIZE_MAX
84
85// ---------------------------------------------------------------------------
86//  Force on the Xerces debug token if it was on in the build environment
87// ---------------------------------------------------------------------------
88// #if defined(_DEBUG)
89// #define XERCES_DEBUG
90// #endif
91
92
93// ---------------------------------------------------------------------------
94//  The name of the DLL that is built by the QCC version of the system.
95// ---------------------------------------------------------------------------
96const char* const Xerces_DLLName = "libxerces-c";
97
98#endif  // QCCDEFS_HPP
99
Note: See TracBrowser for help on using the repository browser.