Skip to content

Commit 20d05a1

Browse files
committed
Auto merge of #492 - domsj:fix-eventfd-feature, r=fiveop
fix build for eventfd feature
2 parents ebb6b01 + 2fb6ef3 commit 20d05a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sys/eventfd.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use {Errno, Result};
44

55
libc_bitflags! {
66
flags EfdFlags: libc::c_int {
7-
const EFD_CLOEXEC, // Since Linux 2.6.27
8-
const EFD_NONBLOCK, // Since Linux 2.6.27
9-
const EFD_SEMAPHORE, // Since Linux 2.6.30
7+
EFD_CLOEXEC, // Since Linux 2.6.27
8+
EFD_NONBLOCK, // Since Linux 2.6.27
9+
EFD_SEMAPHORE, // Since Linux 2.6.30
1010
}
1111
}
1212

0 commit comments

Comments
 (0)