You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@covalent.net> on 2001/10/17 02:33:57 UTC

Re: cvs commit: httpd-2.0/os/netware pre_nw.h modules.c Apache.def

> bnicholes    01/10/16 16:25:46
> 
>   Added:       os/netware pre_nw.h modules.c Apache.def
>   Log:
>   OS specific file for NetWare

Brad... these seem to be the usual compiler munging... I expect though
they would be better placed in apr.hnw where they can do all apr-based
applications some good?  We expect apr.h to do all the compiler
and platform munging for us, so httpd doesn't have to :)

Of course, there are still a very few legitimate uses for the os/ directory,
but they are shrinking very quickly.


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