httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr acconfig.h
Date Tue, 20 Jun 2000 16:16:23 GMT
rbb         00/06/20 09:16:21

  Modified:    src/lib/apr acconfig.h
  Log:
  Remove a duplicate definition of ap_inline.  This is provided by apr.h, so
  we don't need it in ap_private.h.
  
  Revision  Changes    Path
  1.33      +0 -23     apache-2.0/src/lib/apr/acconfig.h
  
  Index: acconfig.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/acconfig.h,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- acconfig.h	2000/06/14 20:38:11	1.32
  +++ acconfig.h	2000/06/20 16:16:20	1.33
  @@ -1,29 +1,6 @@
   #ifndef APR_PRIVATE_H
   #define APR_PRIVATE_H
   
  -/* So that we can use inline on some critical functions, and use
  - * GNUC attributes (such as to get -Wall warnings for printf-like
  - * functions).  Only do this in gcc 2.7 or later ... it may work
  - * on earlier stuff, but why chance it.
  - *
  - * We've since discovered that the gcc shipped with NeXT systems
  - * as "cc" is completely broken.  It claims to be __GNUC__ and so
  - * on, but it doesn't implement half of the things that __GNUC__
  - * means.  In particular it's missing inline and the __attribute__
  - * stuff.  So we hack around it.  PR#1613. -djg
  - */
  -#if !defined(__GNUC__) || __GNUC__ < 2 || \
  -    (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ||\
  -    defined(NEXT)
  -#define ap_inline
  -#define __attribute__(__x)
  -#define ENUM_BITFIELD(e,n,w)  signed int n : w
  -#else
  -#define ap_inline __inline__
  -#define USE_GNU_INLINE
  -#define ENUM_BITFIELD(e,n,w)  e n : w
  -#endif
  -
   @TOP@
   
   /* Various #defines we need to know about */
  
  
  

Mime
View raw message