httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r155848 - httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h
Date Wed, 02 Mar 2005 00:54:55 GMT
Author: randyk
Date: Tue Mar  1 16:54:54 2005
New Revision: 155848

URL: http://svn.apache.org/viewcvs?view=rev&rev=155848
Log:
for Win32, define uid_t and gid_t and undef exit 

Modified:
    httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h

Modified: httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h?view=diff&r1=155847&r2=155848
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h (original)
+++ httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h Tue Mar
 1 16:54:54 2005
@@ -19,6 +19,16 @@
 
 #define PERL_NO_GET_CONTEXT /* we want efficiency under ithreads */
 
+/* some redefines needed for Win32 */
+#ifdef WIN32
+#   define uid_t perl_uid_t
+#   define gid_t perl_gid_t
+#   ifdef exit
+#      define perl_exit exit
+#      undef exit
+#   endif
+#endif
+
 /**
  * @file apreq_xs_preperl.h
  * @brief XS include file for making Cookie.so and Request.so, for things



Mime
View raw message