mirror of
https://git.zx2c4.com/wireguard-nt
synced 2025-07-18 04:05:10 +00:00
C++ doesn't have bitwise operators on enums by default. Rather than reinventing the wheel, we use an undocumented DEFINE_ENUM_FLAG_OPERATORS macro from Windows SDK to implement the enum operators. Signed-off-by: Simon Rozman <simon@rozman.si>
12 KiB
12 KiB