Fossil SCM
Update auto.def to add -D_XOPEN_SOURCE=500 on Solaris. This is necessary for the build to complete there.
Commit
c92f0a9afd7ae6dfbde3c6473e0a327e6f1de7fd
Parent
04803ae4ab7442d…
1 file changed
+4
M
auto.def
+4
| --- auto.def | ||
| +++ auto.def | ||
| @@ -60,10 +60,14 @@ | ||
| 60 | 60 | user-error "system sqlite3 not found" |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | find_internal_sqlite |
| 64 | 64 | } |
| 65 | + | |
| 66 | +if {[string match *-solaris* [get-define host]]} { | |
| 67 | + define-append EXTRA_CFLAGS -D_XOPEN_SOURCE=500 | |
| 68 | +} | |
| 65 | 69 | |
| 66 | 70 | if {[opt-bool fossil-debug]} { |
| 67 | 71 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 68 | 72 | } |
| 69 | 73 | |
| 70 | 74 |
| --- auto.def | |
| +++ auto.def | |
| @@ -60,10 +60,14 @@ | |
| 60 | user-error "system sqlite3 not found" |
| 61 | } |
| 62 | |
| 63 | find_internal_sqlite |
| 64 | } |
| 65 | |
| 66 | if {[opt-bool fossil-debug]} { |
| 67 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 68 | } |
| 69 | |
| 70 |
| --- auto.def | |
| +++ auto.def | |
| @@ -60,10 +60,14 @@ | |
| 60 | user-error "system sqlite3 not found" |
| 61 | } |
| 62 | |
| 63 | find_internal_sqlite |
| 64 | } |
| 65 | |
| 66 | if {[string match *-solaris* [get-define host]]} { |
| 67 | define-append EXTRA_CFLAGS -D_XOPEN_SOURCE=500 |
| 68 | } |
| 69 | |
| 70 | if {[opt-bool fossil-debug]} { |
| 71 | define-append EXTRA_CFLAGS -DFOSSIL_DEBUG |
| 72 | } |
| 73 | |
| 74 |