httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/include ap_config.h
Date Tue, 01 Jun 2004 16:43:37 GMT
wrowe       2004/06/01 09:43:37

  Modified:    src/include ap_config.h
  Log:
    If XtOffsetOf() is already defined, don't redefine.
    When we need our own flavor, it must be namespace
    protected.
  
  Revision  Changes    Path
  1.338     +2 -0      apache-1.3/src/include/ap_config.h
  
  Index: ap_config.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/ap_config.h,v
  retrieving revision 1.337
  retrieving revision 1.338
  diff -u -r1.337 -r1.338
  --- ap_config.h	1 Jun 2004 16:42:22 -0000	1.337
  +++ ap_config.h	1 Jun 2004 16:43:37 -0000	1.338
  @@ -1362,10 +1362,12 @@
   
   #endif /* !CRAY */
   
  +#ifndef XtOffsetOf
   #ifdef offsetof
   #define XtOffsetOf(s_type,field) offsetof(s_type,field)
   #else
   #define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
  +#endif
   #endif
   
   /*
  
  
  

Mime
View raw message