Fossil SCM
Add the -D__EXTENSIONS__ compile-time option on Solaris, so that it can find its IPv6 headers.
Commit
5b9168501c701e663a5f2010f7605af7856e6912
Parent
9586ac14b8cd934…
1 file changed
+1
-1
M
auto.def
+1
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -68,11 +68,11 @@ | ||
| 68 | 68 | |
| 69 | 69 | find_internal_sqlite |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | if {[string match *-solaris* [get-define host]]} { |
| 73 | - define-append EXTRA_CFLAGS -D_XOPEN_SOURCE=500 | |
| 73 | + define-append EXTRA_CFLAGS {-D_XOPEN_SOURCE=500 -D__EXTENSIONS__} | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | if {[opt-bool fossil-debug]} { |
| 77 | 77 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 78 | 78 | msg-result "Debugging support enabled" |
| 79 | 79 |
| --- auto.def | |
| +++ auto.def | |
| @@ -68,11 +68,11 @@ | |
| 68 | |
| 69 | find_internal_sqlite |
| 70 | } |
| 71 | |
| 72 | if {[string match *-solaris* [get-define host]]} { |
| 73 | define-append EXTRA_CFLAGS -D_XOPEN_SOURCE=500 |
| 74 | } |
| 75 | |
| 76 | if {[opt-bool fossil-debug]} { |
| 77 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 78 | msg-result "Debugging support enabled" |
| 79 |
| --- auto.def | |
| +++ auto.def | |
| @@ -68,11 +68,11 @@ | |
| 68 | |
| 69 | find_internal_sqlite |
| 70 | } |
| 71 | |
| 72 | if {[string match *-solaris* [get-define host]]} { |
| 73 | define-append EXTRA_CFLAGS {-D_XOPEN_SOURCE=500 -D__EXTENSIONS__} |
| 74 | } |
| 75 | |
| 76 | if {[opt-bool fossil-debug]} { |
| 77 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 78 | msg-result "Debugging support enabled" |
| 79 |