aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2020-04-28 20:07:52 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2020-04-28 20:07:59 +0200
commit75c8850c91ffa93fded1c8e2a8e725e00124e4be (patch)
tree1acbc210c3c3cf45a9df2847e82c3100f9a67ed4 /docs/src
parent25368e2db1debb5ffa99041ac543e6d8539e461e (diff)
downloadlibuv-75c8850c91ffa93fded1c8e2a8e725e00124e4be.tar.gz
libuv-75c8850c91ffa93fded1c8e2a8e725e00124e4be.zip
darwin: fix build with non-apple compilers
The header files for ApplicationServices and CoreFoundation contain C language extensions that Apple's compiler understands but gcc does not, notably blocks: https://en.wikipedia.org/wiki/Blocks_(C_language_extension) Work around that by defining the types inline and stop including the headers. It's inelegant but the alternatives are worse. Fixes: https://github.com/libuv/libuv/issues/2805 PR-URL: https://github.com/libuv/libuv/pull/2811 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions