You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2001/10/17 01:25:46 UTC

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
  
  Revision  Changes    Path
  1.1                  httpd-2.0/os/netware/pre_nw.h
  
  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
  
  
  
  
  
  
  1.1                  httpd-2.0/os/netware/modules.c
  
  Index: modules.c
  ===================================================================
  /* modules.c --- major modules compiled into Apache for NetWare.
   * Only insert an entry for a module if it must be compiled into
   * the core server
   */
  
  #define CORE_PRIVATE
  #include "httpd.h"
  #include "http_config.h"
  
  extern module core_module;
  extern module mpm_netware_module;
  extern module http_module;
  extern module so_module;
  extern module mime_module;
  extern module access_module;
  extern module auth_module;
  extern module negotiation_module;
  extern module include_module;
  extern module autoindex_module;
  extern module dir_module;
  extern module cgi_module;
  extern module userdir_module;
  extern module alias_module;
  extern module env_module;
  extern module log_config_module;
  extern module asis_module;
  extern module imap_module;
  extern module actions_module;
  extern module setenvif_module;
  
  module *ap_prelinked_modules[] = {
    &core_module,
    &mpm_netware_module,
    &http_module,
    &so_module,
    &mime_module,
    &access_module,
    &auth_module,
    &negotiation_module,
    &include_module,
    &autoindex_module,
    &dir_module,
    &cgi_module,
    &userdir_module,
    &alias_module,
    &env_module,
    &log_config_module,
    &asis_module,
    &imap_module,
    &actions_module,
    &setenvif_module,
    NULL
  };
  
  module *ap_preloaded_modules[] = {
    &core_module,
    &mpm_netware_module,
    &http_module,
    &so_module,
    &mime_module,
    &access_module,
    &auth_module,
    &negotiation_module,
    &include_module,
    &autoindex_module,
    &dir_module,
    &cgi_module,
    &userdir_module,
    &alias_module,
    &env_module,
    &log_config_module,
    &asis_module,
    &imap_module,
    &actions_module,
    &setenvif_module,
    NULL
  };
  
  
  
  1.1                  httpd-2.0/os/netware/Apache.def
  
  Index: Apache.def
  ===================================================================
  #MODULE  APRLIB.NLM
  MODULE  LIBC.NLM
  MODULE  WS2_32.NLM
  FLAG_ON 3
  
  
  

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

Posted by "William A. Rowe, Jr." <wr...@covalent.net>.
> 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



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

Posted by "William A. Rowe, Jr." <wr...@covalent.net>.
> 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