cygipc (and PostgreSQL) XP problem resolved!

Jason Tishler jason@tishler.net
Mon May 12 13:58:00 GMT 2003


Igor,

On Wed, May 07, 2003 at 10:09:51PM -0400, Igor Pechtchanski wrote:
> It also calls GetVersion() twice every time it resolves a semaphore
> name.  It might be better to use something like
> 
> #define FULL_NAMESPACE_PATH(name) \
>      ({WORD ver=LOWORD(GetVersion()); \
>       (MAKEWORD(HIBYTE(ver),LOBYTE(ver)) >= MAKEWORD(1,5)) ? \
>        NAMESPACE_PREFIX name : name})
                                     ^
                                     +--- missing semicolon

Did you compile the above? :,)

Anyway, thanks for pointing me in the right direction.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list