You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by ra...@apache.org on 2005/03/02 01:54:55 UTC
svn commit: r155848 -
httpd/apreq/branches/multi-env-unstable/glue/perl/xsbuilder/apreq_xs_preperl.h
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