mirror of
https://github.com/darlinghq/darling-libxpc.git
synced 2024-11-26 21:20:28 +00:00
Include libkern/OSAtomic.h
Unlike x86, there isn't an ARM specific implementation. Therefore, we need to rely on the generic implementation of OSAtomic. Since I have decided to rely on `libkern/OSAtomicDeprecated.h` for the time being, this header must be exposed to any function that uses (directly on indirectly) OSAtomic functions.
This commit is contained in:
parent
9b767f9ebe
commit
542a107926
@ -31,6 +31,7 @@
|
||||
#include <xpc/xpc.h>
|
||||
#include <machine/atomic.h>
|
||||
#include <Block.h>
|
||||
#include <libkern/OSAtomic.h>
|
||||
#include "xpc_internal.h"
|
||||
|
||||
#define XPC_CONNECTION_NEXT_ID(conn) (OSAtomicIncrement64(&conn->xc_last_id))
|
||||
|
Loading…
Reference in New Issue
Block a user