aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-01-15 13:10:24 +0100
committerAndres Freund <andres@anarazel.de>2015-01-15 13:26:25 +0100
commit6cfd5086e140b365086d61f25c519d046dfcf7f0 (patch)
treed39a5898609d681aea6bee15a458f5b90b5ba32f /src/backend/commands/explain.c
parent73a8f5176ad980d1d2c265649757af3391079318 (diff)
downloadpostgresql-6cfd5086e140b365086d61f25c519d046dfcf7f0.tar.gz
postgresql-6cfd5086e140b365086d61f25c519d046dfcf7f0.zip
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.
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions