Blindly try to fix a warning in s_lock.h when compiling with gcc on HPPA.
Blindly try to fix a warning in s_lock.h when compiling with gcc on HPPA.

The possibly, depending on compiler settings, generated warning was
"warning: `S_UNLOCK' redefined".

The hppa spinlock implementation doesn't follow the rules of s_lock.h
and provides a gcc specific implementation outside of the the part of
the file that's supposed to do that.  It does so to avoid duplication
between the HP compiler and gcc. That unfortunately means that
S_UNLOCK is already defined when the HPPA specific section is reached.

Undefine the generic fallback S_UNLOCK definition inside the HPPA
section. That's far from pretty, but has the big advantage of being
simple. If somebody is interested to fix this in a prettier way...

This presumably got broken in the course of 0709b7ee72.

Discussion: 20150114225919.GY5245@awork2.anarazel.de

Per complaint from Tom Lane.

50wu/gpdb,oberstet/postgres-xl,adam8157/gpdb,lisakowen/gpdb,jmcatamney/gpdb,lisakowen/gpdb,jmcatamney/gpdb,50wu/gpdb,yazun/postgres-xl,xinzweb/gpdb,50wu/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,lisakowen/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,jmcatamney/gpdb,zeroae/postgres-xl,adam8157/gpdb,pavanvd/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,xinzweb/gpdb,jmcatamney/gpdb,lisakowen/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,50wu/gpdb,lisakowen/gpdb,adam8157/gpdb,adam8157/gpdb,xinzweb/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,greenplum-db/gpdb,oberstet/postgres-xl,oberstet/postgres-xl,oberstet/postgres-xl,lisakowen/gpdb,Postgres-XL/Postgres-XL,yazun/postgres-xl,ovr/postgres-xl,pavanvd/postgres-xl,jmcatamney/gpdb,Postgres-XL/Postgres-XL,Postgres-XL/Postgres-XL,zeroae/postgres-xl,xinzweb/gpdb,adam8157/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,ovr/postgres-xl,techdragon/Postgres-XL,lisakowen/gpdb,ashwinstar/gpdb,50wu/gpdb,50wu/gpdb,zeroae/postgres-xl,50wu/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,ashwinstar/gpdb,ovr/postgres-xl,greenplum-db/gpdb,xinzweb/gpdb,techdragon/Postgres-XL,ashwinstar/gpdb,greenplum-db/gpdb,xinzweb/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,jmcatamney/gpdb,yazun/postgres-xl,greenplum-db/gpdb,greenplum-db/gpdb,lisakowen/gpdb,ovr/postgres-xl,xinzweb/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,50wu/gpdb