~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to os/netware/pre_nw.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20061209210545-l2c6ssmet17xa2o3
ImportĀ upstreamĀ versionĀ 2.2.3

Show diffs side-by-side

added added

removed removed

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