summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macros.rs b/src/macros.rs
index 2d356441..adff2bc6 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -64,6 +64,7 @@ macro_rules! libc_bitflags {
) => {
::bitflags::bitflags! {
#[derive(Copy, Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
+ #[repr(transparent)]
$(#[$outer])*
pub struct $BitFlags: $T {
$(