perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/src/modules/perl modperl_perl_includes.h
Date Thu, 30 May 2002 01:23:28 GMT
dougm       02/05/29 18:23:28

  Modified:    src/modules/perl modperl_perl_includes.h
  Log:
  define environ on darwin if needed
  
  Revision  Changes    Path
  1.13      +5 -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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- modperl_perl_includes.h	23 May 2002 22:40:47 -0000	1.12
  +++ modperl_perl_includes.h	30 May 2002 01:23:28 -0000	1.13
  @@ -63,4 +63,9 @@
   #   define PERL_MAGIC_tied 'P'
   #endif
   
  +#if defined(__APPLE__) && !defined(PERL_CORE) && !defined(environ)
  +#   include <crt_externs.h>
  +#   define environ (*_NSGetEnviron())
  +#endif
  +
   #endif /* MODPERL_PERL_INCLUDES_H */
  
  
  

Mime
View raw message