s_lock.h default definitions are rather confused - Mailing list pgsql-hackers

From Tom Lane
Subject s_lock.h default definitions are rather confused
Date
Msg-id 25643.1420924182@sss.pgh.pa.us
Whole thread Raw
Responses Re: s_lock.h default definitions are rather confused
List pgsql-hackers
I've not tried to build HEAD on my HPPA dinosaur for awhile, but I did
just now, and I am presented with boatloads of this:

../../../src/include/storage/s_lock.h:759: warning: `S_UNLOCK' redefined
../../../src/include/storage/s_lock.h:679: warning: this is the location of the previous definition

which is not too surprising because the "default" definition at line 679
precedes the HPPA-specific one at line 759.

I'm not particularly interested in untangling the effects of the recent
hackery in s_lock.h enough to figure out how the overall structure got
broken, but I trust one of you will clean up the mess.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: libpq 9.4 requires /etc/passwd?
Next
From: Tom Lane
Date:
Subject: Re: libpq 9.4 requires /etc/passwd?