Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 47584 invoked by uid 500); 1 Nov 2000 14:45:39 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 47468 invoked from network); 1 Nov 2000 14:45:32 -0000 X-Authentication-Warning: koj: rbb owned process doing -bs Date: Wed, 1 Nov 2000 06:47:13 -0800 (PST) From: rbb@covalent.net X-Sender: rbb@koj To: new-httpd@apache.org Subject: Re: [PATCH] win32 won't link In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Ahhh.... I should have thought of this. That ugly hack is just that, an ugly hack to get things working on Unix. This problem will plague any platform that doesn't use buildconf. Defining ap_ugly_hack in the .c file isn't the correct solution, because that symbol does exist on platforms that use buildconf. We either need an #ifdef for Windows, of Windows needs to create it's own exports.c file. I personally wouldn't mind just adding this patch with an ifdef. Ryan On Tue, 31 Oct 2000, John K. Sterling wrote: > > seems the cvs tree isn't building for me on winnt (case anyone is > interested) defining ap_ugly_hack in the .c file (it was only > declared in the .h file) allows apache to link.... > > > --- http_main.c_bk Tue Oct 31 18:33:56 2000 > +++ http_main.c Tue Oct 31 > 18:28:12 2000 > @@ -69,6 +69,9 @@ > #include "apr_getopt.h" > #include "ap_mpm.h" > > + > +void *ap_ugly_hack; > + > /* WARNING: Win32 binds http_main.c dynamically to the server. Please place > * extern functions and global data in another appropriate module. > * > _______________________________________________________________________________ Ryan Bloom rbb@apache.org 406 29th St. San Francisco, CA 94131 -------------------------------------------------------------------------------