Fossil SCM

Set HAVE_NANOSLEEP=0 when building for MorphOS

js 2025-04-23 07:37 morphos
Commit 1ff1a55d8cb8552e9554b608c8cc96406e036db3ca02158269a86948f2fbecd7
1 file changed +8
+8
--- auto.def
+++ auto.def
@@ -260,10 +260,18 @@
260260
# NOTE: All platforms except MinGW should use the linenoise
261261
# package. It is currently unsupported on Win32.
262262
#
263263
define USE_LINENOISE 1
264264
}
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
+}
265273
266274
if {[string match *-solaris* [get-define host]]} {
267275
define-append EXTRA_CFLAGS {-D__EXTENSIONS__}
268276
}
269277
270278
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button