libsanitizer: fix build on darwin
Upstream report of the issue at https://github.com/llvm/llvm-project/issues/72639 libsanitizer/ChangeLog: * asan/asan_mac.cpp: Protect Apple blocks behind the MISSING_BLOCKS_SUPPORT macro.
This commit is contained in:
parent
26ab97e0da
commit
c2553dd389
1 changed files with 2 additions and 0 deletions
|
@ -139,9 +139,11 @@ typedef void (*dispatch_mach_handler_function_t)(void *context,
|
|||
dispatch_mach_reason reason,
|
||||
dispatch_mach_msg_t message,
|
||||
mach_error_t error);
|
||||
#if !defined(MISSING_BLOCKS_SUPPORT)
|
||||
typedef void (^dispatch_mach_handler_t)(dispatch_mach_reason reason,
|
||||
dispatch_mach_msg_t message,
|
||||
mach_error_t error);
|
||||
#endif
|
||||
|
||||
// A wrapper for the ObjC blocks used to support libdispatch.
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue