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

Commit

Permalink
Merge pull request #1302 from tomerfiliba/patch-1
Browse files Browse the repository at this point in the history
Fix epoll_event alignment (issue 14702)
  • Loading branch information
DmitryOlshansky committed Jul 15, 2015
2 parents 6bc37c0 + 86cc256 commit 8e99214
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 8e99214

Please sign in to comment.