You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2001/01/18 19:45:59 UTC

cvs commit: modperl-2.0/src/modules/perl modperl_perl_includes.h

dougm       01/01/18 10:45:58

  Modified:    src/modules/perl modperl_perl_includes.h
  Log:
  avoid namespace collision
  
  Revision  Changes    Path
  1.2       +8 -0      modperl-2.0/src/modules/perl/modperl_perl_includes.h
  
  Index: modperl_perl_includes.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_perl_includes.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- modperl_perl_includes.h	2001/01/06 02:52:03	1.1
  +++ modperl_perl_includes.h	2001/01/18 18:45:57	1.2
  @@ -20,6 +20,14 @@
   #   endif
   #endif
   
  +/* avoiding namespace collisions */
  +
  +#ifdef list
  +#   undef list
  +#endif
  +
  +/* avoiding -Wall warning */
  +
   #undef dNOOP
   #define dNOOP extern int __attribute__ ((unused)) Perl___notused