Skip to content

Commit

Permalink
Fix Windows User Mode Build Breaks from VS v16.10 Update (microsoft#1646
Browse files Browse the repository at this point in the history
)

Completing this as is so we can unblock some work.
  • Loading branch information
nibanks authored May 27, 2021
1 parent 7f4b714 commit 90064ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inc/quic_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Supported Environments:

#pragma once

#include <stddef.h>

#define IS_POWER_OF_TWO(x) (((x) != 0) && (((x) & ((x) - 1)) == 0))

//
Expand Down
1 change: 1 addition & 0 deletions src/inc/quic_platform_winkernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#pragma warning(disable:26071)
#pragma warning(disable:28118)
#pragma warning(disable:28196)
#pragma warning(disable:28251)
#pragma warning(disable:28252)
#pragma warning(disable:28253)
#pragma warning(disable:28309)
Expand Down
1 change: 1 addition & 0 deletions src/inc/quic_platform_winuser.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#pragma warning(push) // Don't care about OACR warnings in publics
#pragma warning(disable:26036)
#pragma warning(disable:28251)
#pragma warning(disable:28252)
#pragma warning(disable:28253)
#pragma warning(disable:5105) // The conformant preprocessor along with the newest SDK throws this warning for a macro.
Expand Down

0 comments on commit 90064ab

Please sign in to comment.