Apache2
apr_arch_pre_nw.h
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. 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 #ifndef __pre_nw__
17 #define __pre_nw__
18 
19 #include <stdint.h>
20 
21 #ifdef __MWERKS__
22 #pragma precompile_target "precomp.mch"
23 #endif
24 
25 #ifndef NETWARE
26 #define NETWARE
27 #endif
28 
29 #ifndef N_PLAT_NLM
30 #define N_PLAT_NLM
31 #endif
32 
33 #define FAR
34 #define far
35 
36 /* no-op for Codewarrior C compiler; all functions are cdecl by default */
37 #define cdecl
38 
39 /* if we have wchar_t enabled in C++, predefine this type to avoid
40  a conflict in Novell's header files */
41 #ifndef __GNUC__
42 #ifndef DOXYGEN
43 #if (__option(cplusplus) && __option(wchar_type))
44 #define _WCHAR_T
45 #endif
46 #endif
47 #endif
48 
49 /* C9X defintion used by MSL C++ library */
50 #define DECIMAL_DIG 17
51 
52 /* some code may want to use the MS convention for long long */
53 #ifndef __int64
54 #define __int64 long long
55 #endif
56 
57 #endif
58 
59 
60