pre_nw.h revision 65f272685f3ca92e45841d95c2b5fa6219ad9b5c
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#ifndef __pre_nw__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define __pre_nw__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#pragma precompile_target "precomp.mch"
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define NETWARE
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define N_PLAT_NLM
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* hint for MSL C++ that we're on NetWare platform */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define __NETWARE__
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* the FAR keyword has no meaning in a 32-bit environment
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes but is used in the SDK headers so we take it out */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define FAR
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define far
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* no-op for Codewarrior C compiler; a functions are cdecl
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes by default */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define cdecl
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* if we have wchar_t enabled in C++, predefine this type to avoid
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes a conflict in Novell's header files */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#if (__option(cplusplus) && __option(wchar_type))
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define _WCHAR_T
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* C9X defintion used by MSL C++ library */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define DECIMAL_DIG 17
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* define long long typedefs for Watcom compatiblity */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholestypedef long long int64_t;
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholestypedef unsigned long long uint64_t;
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes/* some code may want to use the MS convention for long long */
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#ifndef __int64
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#define __int64 long long
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
65f272685f3ca92e45841d95c2b5fa6219ad9b5cbnicholes/* Don't use the DBM rewrite map for mod_rewrite */
65f272685f3ca92e45841d95c2b5fa6219ad9b5cbnicholes#define NO_DBM_REWRITEMAP
65f272685f3ca92e45841d95c2b5fa6219ad9b5cbnicholes
65f272685f3ca92e45841d95c2b5fa6219ad9b5cbnicholes/* Allow MOD_AUTH_DBM to use APR */
65f272685f3ca92e45841d95c2b5fa6219ad9b5cbnicholes#define AP_AUTH_DBM_USE_APR
65f272685f3ca92e45841d95c2b5fa6219ad9b5cbnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes