bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / os / netware / pre_nw.h
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
17 #ifndef __pre_nw__
18 #define __pre_nw__
19
20 #include <stdint.h>
21
22 #ifndef __GNUC__
23 #pragma precompile_target "precomp.mch"
24 #endif
25
26 #define NETWARE
27
28 #define N_PLAT_NLM
29
30 /* hint for MSL C++ that we're on NetWare platform */
31 #define __NETWARE__
32
33 /* the FAR keyword has no meaning in a 32-bit environment 
34    but is used in the SDK headers so we take it out */
35 #define FAR
36 #define far
37
38 /* no-op for Codewarrior C compiler; a functions are cdecl 
39    by default */
40 #define cdecl
41
42 /* if we have wchar_t enabled in C++, predefine this type to avoid
43    a conflict in Novell's header files */
44 #ifndef __GNUC__
45 #if (__option(cplusplus) && __option(wchar_type))
46 #define _WCHAR_T
47 #endif
48 #endif
49
50 /* C9X defintion used by MSL C++ library */
51 #define DECIMAL_DIG 17
52
53 /* some code may want to use the MS convention for long long */
54 #ifndef __int64
55 #define __int64 long long
56 #endif
57
58 /* Don't use the DBM rewrite map for mod_rewrite */
59 #define NO_DBM_REWRITEMAP
60
61 /* Allow MOD_AUTH_DBM to use APR */
62 #define AP_AUTH_DBM_USE_APR
63
64 /* Restrict the number of nested includes */
65 #define AP_MAX_INCLUDE_DEPTH    48
66
67 #endif
68
69
70