forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1fa22a4
committed
Fix unportable usage of __has_attribute
This should fix the breakages caused by697e1d0, which seems to breakthe build for GCC version < 5.It seems, according to the GCC manual that __has_attribute is a "specialoperator" and must be tested without any other conditions in thepreprocessor test.Per recommendation from the GCC manual via Greg NancarrowReported-by: Greg NancarrowDiscussion:https://postgr.es/m/CAJcOf-euSu8fhC10v476o9dqnjqKysVs1_vRms-_fvajpZ3kFw@mail.gmail.com1 parent913ec71 commit1fa22a4
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
198 |
| - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
199 | 201 |
| |
200 | 202 |
| |
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
| |
204 |
| - | |
| 206 | + | |
205 | 207 |
| |
206 | 208 |
| |
207 | 209 |
| |
208 | 210 |
| |
209 | 211 |
| |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
210 | 217 |
| |
211 | 218 |
| |
212 | 219 |
| |
|
0 commit comments
Comments
(0)