pre_nw.h revision 6de8046f8f7e07cd83895a528df25d977e502c76
55c79512242fd281202cd57ca18defac696440f5kess/* Copyright 2001-2004 The Apache Software Foundation
55c79512242fd281202cd57ca18defac696440f5kess *
55c79512242fd281202cd57ca18defac696440f5kess * Licensed under the Apache License, Version 2.0 (the "License");
55c79512242fd281202cd57ca18defac696440f5kess * you may not use this file except in compliance with the License.
55c79512242fd281202cd57ca18defac696440f5kess * You may obtain a copy of the License at
55c79512242fd281202cd57ca18defac696440f5kess *
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd * http://www.apache.org/licenses/LICENSE-2.0
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd *
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd * Unless required by applicable law or agreed to in writing, software
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd * distributed under the License is distributed on an "AS IS" BASIS,
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd * See the License for the specific language governing permissions and
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd * limitations under the License.
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd */
27e52281f1522522b170cafc76b08b58aa70ccaand
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd#ifndef __pre_nw__
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd#define __pre_nw__
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd
4b5981e276e93df97c34e4da05ca5cf8bbd937dand#include <stdint.h>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd#ifndef __GNUC__
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd#pragma precompile_target "precomp.mch"
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd#endif
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end#define NETWARE
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd#define N_PLAT_NLM
726b11c595edf0b0b71d0d39a2bc9d912c0ee4b5nd
55c79512242fd281202cd57ca18defac696440f5kess/* hint for MSL C++ that we're on NetWare platform */
55c79512242fd281202cd57ca18defac696440f5kess#define __NETWARE__
55c79512242fd281202cd57ca18defac696440f5kess
55c79512242fd281202cd57ca18defac696440f5kess/* the FAR keyword has no meaning in a 32-bit environment
55c79512242fd281202cd57ca18defac696440f5kess but is used in the SDK headers so we take it out */
55c79512242fd281202cd57ca18defac696440f5kess#define FAR
1ce7f356a70d1d9961ec315c212e2f83a1452456nd#define far
8f057347a12e831fdf567da83de2fa581580298dnd
5b10fd3977e6dfff19afe770e612e276962f7950nd/* no-op for Codewarrior C compiler; a functions are cdecl
5b10fd3977e6dfff19afe770e612e276962f7950nd by default */
8f057347a12e831fdf567da83de2fa581580298dnd#define cdecl
8f057347a12e831fdf567da83de2fa581580298dnd
8f057347a12e831fdf567da83de2fa581580298dnd/* if we have wchar_t enabled in C++, predefine this type to avoid
8f057347a12e831fdf567da83de2fa581580298dnd a conflict in Novell's header files */
8f057347a12e831fdf567da83de2fa581580298dnd#ifndef __GNUC__
8f057347a12e831fdf567da83de2fa581580298dnd#if (__option(cplusplus) && __option(wchar_type))
1ce7f356a70d1d9961ec315c212e2f83a1452456nd#define _WCHAR_T
5b10fd3977e6dfff19afe770e612e276962f7950nd#endif
5b10fd3977e6dfff19afe770e612e276962f7950nd#endif
1ce7f356a70d1d9961ec315c212e2f83a1452456nd
2fc082b48b1bfb1182d6b93f5837e74b0c0af3eckess/* C9X defintion used by MSL C++ library */
2fc082b48b1bfb1182d6b93f5837e74b0c0af3eckess#define DECIMAL_DIG 17
74086452b5093fa1a58446034c6ddfd67dab5651kess
74086452b5093fa1a58446034c6ddfd67dab5651kess/* some code may want to use the MS convention for long long */
de502b36947f981bb79c4b3529b9f9f5edf35b2dkess#ifndef __int64
de502b36947f981bb79c4b3529b9f9f5edf35b2dkess#define __int64 long long
b3c7a2279fa7a45f5807d9a404760b9b3760df50nd#endif
b3c7a2279fa7a45f5807d9a404760b9b3760df50nd
8ba890719035fe67c295c9124693138f9c5aa933kess/* Don't use the DBM rewrite map for mod_rewrite */
8ba890719035fe67c295c9124693138f9c5aa933kess#define NO_DBM_REWRITEMAP
55c79512242fd281202cd57ca18defac696440f5kess
55c79512242fd281202cd57ca18defac696440f5kess/* Allow MOD_AUTH_DBM to use APR */
8f057347a12e831fdf567da83de2fa581580298dnd#define AP_AUTH_DBM_USE_APR
8f057347a12e831fdf567da83de2fa581580298dnd
8f057347a12e831fdf567da83de2fa581580298dnd#endif
62664c6703ed9e8d8f4f8e4c5f5e893559ecefecnd
62664c6703ed9e8d8f4f8e4c5f5e893559ecefecnd
8f057347a12e831fdf567da83de2fa581580298dnd
8f057347a12e831fdf567da83de2fa581580298dnd