diff options
author | Simon Rozman <simon@rozman.si> | 2022-03-30 09:56:59 +0200 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2022-03-30 09:56:59 +0200 |
commit | 9dfa703c396d7365bb9d8c08e73301d6363f8ecd (patch) | |
tree | b5bd106d210f525b15cd0a3b3a9c587bd4639aa2 /driver/socket.c | |
parent | proj: stop building for arm32 (diff) | |
download | wireguard-nt-9dfa703c396d7365bb9d8c08e73301d6363f8ecd.tar.xz wireguard-nt-9dfa703c396d7365bb9d8c08e73301d6363f8ecd.zip |
api: header: add C++ enum manipulation operators
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>
Diffstat (limited to 'driver/socket.c')
0 files changed, 0 insertions, 0 deletions