mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 04:29:42 +00:00
I had a problem with one SDK where dispatch_release was actually a
macro, so writing ::dispatch_release did not work as expected. Remove the global anon namespace :: designation; the header will get us the correct declaration. llvm-svn: 280903
This commit is contained in:
parent
f81f15a706
commit
2e819ccc41
@ -1410,7 +1410,7 @@ HostThread Host::StartMonitoringChildProcess(
|
||||
if (source) {
|
||||
Host::MonitorChildProcessCallback callback_copy = callback;
|
||||
::dispatch_source_set_cancel_handler(source, ^{
|
||||
::dispatch_release(source);
|
||||
dispatch_release(source);
|
||||
});
|
||||
::dispatch_source_set_event_handler(source, ^{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user