pre_nw.h revision e33833081e7cf59b50e76fec55fe582b3ed0361a
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
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes#endif
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes
e33833081e7cf59b50e76fec55fe582b3ed0361abnicholes