Skip to content

Commit 989284d

Browse files
committed
Add "__EPOLL_PACKED" For ARM64
1 parent 2a86389 commit 989284d

File tree

1 file changed

+2
-0
lines changed
  • darling/src/libsystem_kernel/emulation/linux/ext/sys

1 file changed

+2
-0
lines changed

darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ enum EPOLL_EVENTS
3030

3131
#if defined(__x86_64__) || defined(__i386__)
3232
#define __EPOLL_PACKED __attribute__ ((__packed__))
33+
#elif defined(__arm64__)
34+
#define __EPOLL_PACKED
3335
#else
3436
#error "Missing __EPOLL_PACKED definition for arch"
3537
#endif

0 commit comments

Comments
 (0)