Browse Source

Disable clang-tidy lint on windows.h include

master
Thom Wiggers 5 years ago
parent
commit
a230c51cf5
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      common/randombytes.c

+ 1
- 0
common/randombytes.c View File

@@ -33,6 +33,7 @@ THE SOFTWARE.


#if defined(_WIN32) #if defined(_WIN32)
/* Windows */ /* Windows */
// NOLINTNEXTLINE(llvm-include-order): Include order required by Windows
#include <windows.h> #include <windows.h>
#include <wincrypt.h> /* CryptAcquireContext, CryptGenRandom */ #include <wincrypt.h> /* CryptAcquireContext, CryptGenRandom */
#endif /* defined(_WIN32) */ #endif /* defined(_WIN32) */


Loading…
Cancel
Save