Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix epoll_event alignment (issue 14702)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerfiliba authored and tomer-weka committed Jul 15, 2015
1 parent 6bc37c0 commit 86cc256
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/sys/linux/epoll.d
Expand Up @@ -45,20 +45,20 @@ enum
EPOLL_CTL_MOD = 3, // Change file descriptor epoll_event structure.
}

struct epoll_event
align(1) struct epoll_event
{
align(1):
uint events;
epoll_data_t data;
};
align(1):
uint events;
epoll_data_t data;
}

union epoll_data_t
{
void *ptr;
int fd;
uint u32;
ulong u64;
};
}

int epoll_create (int size);
int epoll_create1 (int flags);
Expand Down

0 comments on commit 86cc256

Please sign in to comment.