Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 21325 invoked by uid 6000); 19 Jan 2000 01:46:19 -0000 Received: (qmail 21300 invoked from network); 19 Jan 2000 01:46:13 -0000 Received: from fwns1d.raleigh.ibm.com (HELO fwns1.raleigh.ibm.com) (204.146.167.235) by taz.hyperreal.org with SMTP; 19 Jan 2000 01:46:13 -0000 Received: from rtpmail03.raleigh.ibm.com (rtpmail03.raleigh.ibm.com [9.37.172.47]) by fwns1.raleigh.ibm.com (8.9.0/8.9.0/RTP-FW-1.2) with ESMTP id UAA23230; Tue, 18 Jan 2000 20:46:09 -0500 Received: from hapkido.raleigh.ibm.com (rbb@hapkido.raleigh.ibm.com [9.37.65.84]) by rtpmail03.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with ESMTP id UAA21960; Tue, 18 Jan 2000 20:46:12 -0500 Date: Wed, 19 Jan 2000 01:43:24 -0500 (EST) From: Ryan Bloom To: new-httpd@apache.org cc: apache-2.0-cvs@apache.org Subject: Re: cvs commit: apache-2.0/src/modules/standard mod_userdir.c In-Reply-To: <20000119013319.7289.qmail@hyperreal.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org The better way to fix it is for Apache to provide an AP_HAVE_PWD_H macro depending on what autoconf finds. This is all part of the autoconf not protecting their own macros problem. This will be fixed in time, but how to do it is a real problem. I am seriously considering doing what we did for APR, which is to create another header file for public namespace protected macros. BTW, why are you bothering with userdir? I didn't think it worked on Windows. Ryan On 19 Jan 2000 stoddard@hyperreal.org wrote: > stoddard 00/01/18 17:33:17 > > Modified: src/modules/standard mod_userdir.c > Log: > Fix Windows compile break. Gotta find a better way to fix this. > > Revision Changes Path > 1.6 +2 -0 apache-2.0/src/modules/standard/mod_userdir.c > > Index: mod_userdir.c > =================================================================== > RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_userdir.c,v > retrieving revision 1.5 > retrieving revision 1.6 > diff -u -r1.5 -r1.6 > --- mod_userdir.c 2000/01/18 23:41:56 1.5 > +++ mod_userdir.c 2000/01/19 01:33:16 1.6 > @@ -93,7 +93,9 @@ > #include "httpd.h" > #include "http_config.h" > #include "http_request.h" > +#ifndef WIN32 > #include > +#endif > > /* The default directory in user's home dir */ > #ifndef DEFAULT_USER_DIR > > > > _______________________________________________________________________ Ryan Bloom rbb@raleigh.ibm.com 4205 S Miami Blvd RTP, NC 27709 Come to the first official Apache Software Foundation Conference!