Don't let clang-format rearrange Windows includes, since they need to be in a particular order.
This commit is contained in:
@@ -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