Skip site navigation (1) Skip section navigation (2)

RE: Re: Cygwin PostgreSQL postmaster abort problem

From: Horák Daniel <horak(at)sit(dot)plzen-city(dot)cz>
To: "Jason Tishler" <Jason(dot)Tishler(at)dothill(dot)com>
Cc: <pgsql-ports(at)postgresql(dot)org>
Subject: RE: Re: Cygwin PostgreSQL postmaster abort problem
Date: 2001-01-04 13:01:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
> > > Note that this file is no longer needed with current 
> Cygwin releases.
> > > Cygwin provides its own "DllMain" now.  May be a 
> compromise would be to
> > > have make check the Cygwin version and eliminate 
> dllinit.c from the
> > > build if it is not necessary.  I am willing to submit 
> such a patch if it
> > > was deemed reasonable.
> > 
> > Sounds great to me.  Maybe the 
> > could be used to #ifdef out the entire dllinit.c if not 
> needed?  (A more
> > "correct" approach would probably be to check for the existance of
> > DllMain, but I'm not sure if you/we are up to that at this point.)
> Can I assume that dllinit.c is only used by Cygwin (i.e, not 
> by straight

Yes, it is used only by Cygwin.

> Win32)?  If so, then I can surround the contents with:
>     #include <cygwin/version.h>
>     ...
>     #endif /* CYGWIN_VERSION_DLL_MAJOR */

I think that better will be to use CYGWIN_VERSION_API_MAJOR and
..._MINOR. These numbers depend on changes in the library that have
influence for other applications.

> Otherwise, this part of the patch is going to get ugly.



pgsql-ports by date

Next:From: Jason TishlerDate: 2001-01-04 14:16:38
Subject: Re: Re: Cygwin PostgreSQL postmaster abort problem
Previous:From: Pete FormanDate: 2001-01-04 08:45:12
Subject: Re: Re: Problem with compile pgsql on Irix 5.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group