Overview
Comment: | Fix macOS check for Xcode <= 8 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0060b188a9197646dba178910c0fd70c |
User & Date: | js on 2020-11-29 22:07:20 |
Other Links: | manifest | tags |
Context
2020-12-01
| ||
23:31 | README.md: Mention the IRC channel on OFTC check-in: 82fd253c33 user: js tags: trunk | |
2020-11-29
| ||
22:07 | Fix macOS check for Xcode <= 8 check-in: 0060b188a9 user: js tags: trunk | |
06:40 | OFSelectKernelEventObserver: _maxFD = -1 on Amiga check-in: f078f529d8 user: js tags: trunk | |
Changes
Modified configure.ac from [228ea25515] to [09d1e00fe7].
︙ | ︙ | |||
1575 1576 1577 1578 1579 1580 1581 | case "$host_os" in darwin*) AC_MSG_CHECKING(whether we are compiling for macOS) AC_EGREP_CPP(egrep_cpp_yes, [ #include <TargetConditionals.h> | | > > > | 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_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) |
︙ | ︙ |
Modified src/platform.h from [c42ebbf9ca] to [40ddf7ef54].
︙ | ︙ | |||
101 102 103 104 105 106 107 | #endif #if defined(__APPLE__) # include <TargetConditionals.h> # if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || \ (defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR) # define OF_IOS | | < | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | #endif #if defined(__APPLE__) # include <TargetConditionals.h> # if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || \ (defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR) # define OF_IOS # else # define OF_MACOS # endif #elif defined(__linux__) # define OF_LINUX #elif defined(_WIN32) # define OF_WINDOWS #elif defined(__FreeBSD__) |
︙ | ︙ |