mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
asahi: Fix macOS macro.
Fixes:26b19bda30("asahi: Add device abstraction") Fixes:55c0956fd0("asahi: Add (clean room) IOKit uABI header") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11569>
This commit is contained in:
parent
9aff548ff4
commit
6fe82e6c1e
2 changed files with 2 additions and 2 deletions
|
|
@ -315,7 +315,7 @@ agx_close_device(struct agx_device *dev)
|
|||
uint64_t
|
||||
agx_cmdbuf_global_ids(struct agx_device *dev)
|
||||
{
|
||||
#if __APPLE
|
||||
#if __APPLE__
|
||||
uint32_t out[4] = {};
|
||||
size_t out_sz = sizeof(out);
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ agx_memory_type_name(uint32_t type)
|
|||
}
|
||||
|
||||
struct agx_notification_queue {
|
||||
#ifdef __APPLE
|
||||
#ifdef __APPLE__
|
||||
mach_port_t port;
|
||||
IODataQueueMemory *queue;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue