Fossil SCM
Set HAVE_NANOSLEEP=0 when building for MorphOS
Commit
1ff1a55d8cb8552e9554b608c8cc96406e036db3ca02158269a86948f2fbecd7
Parent
66f279e14332a4e…
1 file changed
+8
M
auto.def
+8
| --- auto.def | ||
| +++ auto.def | ||
| @@ -260,10 +260,18 @@ | ||
| 260 | 260 | # NOTE: All platforms except MinGW should use the linenoise |
| 261 | 261 | # package. It is currently unsupported on Win32. |
| 262 | 262 | # |
| 263 | 263 | define USE_LINENOISE 1 |
| 264 | 264 | } |
| 265 | + | |
| 266 | +proc is_morphos {} { | |
| 267 | + return [string match *morphos* [get-define host]] | |
| 268 | +} | |
| 269 | + | |
| 270 | +if ([is_morphos]) { | |
| 271 | + define-append EXTRA_CFLAGS -DHAVE_NANOSLEEP=0 | |
| 272 | +} | |
| 265 | 273 | |
| 266 | 274 | if {[string match *-solaris* [get-define host]]} { |
| 267 | 275 | define-append EXTRA_CFLAGS {-D__EXTENSIONS__} |
| 268 | 276 | } |
| 269 | 277 | |
| 270 | 278 |
| --- auto.def | |
| +++ auto.def | |
| @@ -260,10 +260,18 @@ | |
| 260 | # NOTE: All platforms except MinGW should use the linenoise |
| 261 | # package. It is currently unsupported on Win32. |
| 262 | # |
| 263 | define USE_LINENOISE 1 |
| 264 | } |
| 265 | |
| 266 | if {[string match *-solaris* [get-define host]]} { |
| 267 | define-append EXTRA_CFLAGS {-D__EXTENSIONS__} |
| 268 | } |
| 269 | |
| 270 |
| --- auto.def | |
| +++ auto.def | |
| @@ -260,10 +260,18 @@ | |
| 260 | # NOTE: All platforms except MinGW should use the linenoise |
| 261 | # package. It is currently unsupported on Win32. |
| 262 | # |
| 263 | define USE_LINENOISE 1 |
| 264 | } |
| 265 | |
| 266 | proc is_morphos {} { |
| 267 | return [string match *morphos* [get-define host]] |
| 268 | } |
| 269 | |
| 270 | if ([is_morphos]) { |
| 271 | define-append EXTRA_CFLAGS -DHAVE_NANOSLEEP=0 |
| 272 | } |
| 273 | |
| 274 | if {[string match *-solaris* [get-define host]]} { |
| 275 | define-append EXTRA_CFLAGS {-D__EXTENSIONS__} |
| 276 | } |
| 277 | |
| 278 |