httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/os/netware pre_nw.h
Date Fri, 30 May 2003 22:40:05 GMT
bnicholes    2003/05/30 15:40:05

  Modified:    os/netware Tag: APACHE_2_0_BRANCH pre_nw.h
  Log:
  Fixing up the NetWare headers to be compatible with the GNU compiler
  
  Submitted by: GŁnter Knauf <gk@gknw.de>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +7 -5      httpd-2.0/os/netware/pre_nw.h
  
  Index: pre_nw.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/netware/pre_nw.h,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- pre_nw.h	8 Jan 2002 21:16:08 -0000	1.2
  +++ pre_nw.h	30 May 2003 22:40:05 -0000	1.2.2.1
  @@ -1,9 +1,13 @@
   #ifndef __pre_nw__
   #define __pre_nw__
   
  +#include <stdint.h>
  +
  +#ifndef __GNUC__
   #pragma precompile_target "precomp.mch"
  -#define NETWARE
  +#endif
   
  +#define NETWARE
   
   #define N_PLAT_NLM
   
  @@ -21,16 +25,14 @@
   
   /* if we have wchar_t enabled in C++, predefine this type to avoid
      a conflict in Novell's header files */
  +#ifndef __GNUC__
   #if (__option(cplusplus) && __option(wchar_type))
   #define _WCHAR_T
   #endif
  +#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
  
  
  

Mime
View raw message