BUG #12770: Syntax error in a header file for sparcv8 elif errors compiling - Mailing list pgsql-bugs

From rob.rowan@ngc.com
Subject BUG #12770: Syntax error in a header file for sparcv8 elif errors compiling
Date
Msg-id 20150213194518.2586.61637@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #12770: Syntax error in a header file for sparcv8 elif errors compiling  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12770
Logged by:          Rob Rowan
Email address:      rob.rowan@ngc.com
PostgreSQL version: 9.4.1
Operating system:   SunOS 5.10 Generic_141444-09 sun4u sparc SUNW
Description:

In src/include/storage/s_lock.h
Line 447
I believe the line that currently says:
elif  __sparcv8
Should be:
elif  defined(__sparcv8)

It compiled fine after I made that change.
If you have any questions, feel free to email me.

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #12769: SSL-Renegotiation failures
Next
From: Andres Freund
Date:
Subject: Re: BUG #12770: Syntax error in a header file for sparcv8 elif errors compiling