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: 9C8918CC8CDAAC4AA79D4594A480648901E68BC8@EXCHANGE.mmp.plzen-city.cz (view raw or flat)
Thread:
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 
> CYGWIN_VERSION_API_MAJOR/MINOR symbols
> > 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>
>     #if CYGWIN_VERSION_DLL_MAJOR < 1001
>     ...
>     #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.


			Dan

Responses

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-2014 The PostgreSQL Global Development Group