source: NonGTP/Xerces/xerces/include/xercesc/util/Platforms/Solaris/SolarisDefs.hpp @ 358

Revision 358, 2.1 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1/*
2 * Copyright 1999-2000,2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/*
18 * $Log: SolarisDefs.hpp,v $
19 * Revision 1.5  2004/09/08 13:56:42  peiyongz
20 * Apache License Version 2.0
21 *
22 * Revision 1.4  2004/08/23 16:05:49  peiyongz
23 * The missing FileHandle
24 *
25 * Revision 1.3  2004/08/19 21:24:12  peiyongz
26 * Jira[1255], patch from Neil Sharman
27 *
28 * Revision 1.2  2003/11/17 16:18:01  peiyongz
29 * Fix to  #4556
30 *
31 * Revision 1.1.1.1  2002/02/01 22:22:25  peiyongz
32 * sane_include
33 *
34 * Revision 1.4  2000/03/02 19:55:30  roddey
35 * This checkin includes many changes done while waiting for the
36 * 1.1.0 code to be finished. I can't list them all here, but a list is
37 * available elsewhere.
38 *
39 * Revision 1.3  2000/02/17 03:36:54  rahulj
40 * Fixed a cut-paste typo in the comments.
41 *
42 * Revision 1.2  2000/02/06 07:48:30  rahulj
43 * Year 2K copyright swat.
44 *
45 * Revision 1.1.1.1  1999/11/09 01:06:30  twl
46 * Initial checkin
47 *
48 * Revision 1.2  1999/11/08 20:45:32  rahul
49 * Swat for adding in Product name and CVS comment log variable.
50 *
51 */
52
53 // ---------------------------------------------------------------------------
54 // Detect endian mode
55 // ---------------------------------------------------------------------------
56#include <sys/isa_defs.h>
57
58#ifdef _LITTLE_ENDIAN
59  #define ENDIANMODE_LITTLE
60#elif defined(_BIG_ENDIAN)
61  #define ENDIANMODE_BIG
62#else
63  #error : unknown byte order!
64#endif
65 
66typedef int FileHandle;
67 
68#ifndef SOLARIS
69#define SOLARIS
70#endif
71
Note: See TracBrowser for help on using the repository browser.