Don't let clang-format rearrange Windows includes, since they need to be in a particular order.
This commit is contained in:
1 parent
9acc4e9d71
commit
5e19c26cae
1 file changed
+3
-1
+3
-1
@@ -186,8 +186,10 @@ static int get_dev_random_seed(void)
|
|||||||
|
|
||||||
#define HAVE_CRYPTGENRANDOM 1
|
#define HAVE_CRYPTGENRANDOM 1
|
||||||
|
|
||||||
#include <wincrypt.h>
|
/* clang-format off */
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <wincrypt.h>
|
||||||
|
/* clang-format on */
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
#pragma comment(lib, "advapi32.lib")
|
#pragma comment(lib, "advapi32.lib")
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user