Skip to content

Commit

Permalink
Add "__EPOLL_PACKED" For ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousTommy committed Jun 21, 2024
1 parent 2a86389 commit 989284d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions darling/src/libsystem_kernel/emulation/linux/ext/sys/epoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ enum EPOLL_EVENTS

#if defined(__x86_64__) || defined(__i386__)
#define __EPOLL_PACKED __attribute__ ((__packed__))
#elif defined(__arm64__)
#define __EPOLL_PACKED
#else
#error "Missing __EPOLL_PACKED definition for arch"
#endif
Expand Down

0 comments on commit 989284d

Please sign in to comment.