ObjFW  Diff

Differences From Artifact [228ea25515]:

  • File configure.ac — part of check-in [d76213374e] at 2020-11-29 02:44:17 on branch trunk — OFKernelEventObserver: Reorder #ifdefs

    Check for AmigaOS first, as we have a special implementation for it that
    uses WaitSelect() instead. This way, we no longer need to match $host_os
    to manually disable the pipe() check, which would break if one of the
    AmigaOS variants adds pipe() later on. (user: js, size: 50237) [annotate] [blame] [check-ins using]

To Artifact [09d1e00fe7]:


1575
1576
1577
1578
1579
1580
1581
1582




1583
1584
1585
1586
1587
1588
1589
1575
1576
1577
1578
1579
1580
1581

1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592







-
+
+
+
+








case "$host_os" in
	darwin*)
		AC_MSG_CHECKING(whether we are compiling for macOS)
		AC_EGREP_CPP(egrep_cpp_yes, [
			#include <TargetConditionals.h>

			#if defined(TARGET_OS_OSX) && TARGET_OS_OSX
			#if (!defined(TARGET_OS_IPHONE) || \
			    !TARGET_OS_IPHONE) && \
			    (!defined(TARGET_OS_SIMULATOR) || \
			    !TARGET_OS_SIMULATOR)
			egrep_cpp_yes
			#endif
		], [
			AC_MSG_RESULT(yes)
			have_processes="yes"
		], [
			AC_MSG_RESULT(no)