Don't let clang-format rearrange Windows includes, since they need to be in a particular order.

This commit is contained in:
Eric Haszlakiewicz
2020-04-06 02:47:34 +00:00
parent 9acc4e9d71
commit 5e19c26cae

View File

@@ -186,8 +186,10 @@ static int get_dev_random_seed(void)
#define HAVE_CRYPTGENRANDOM 1
#include <wincrypt.h>
/* clang-format off */
#include <windows.h>
#include <wincrypt.h>
/* clang-format on */
#ifndef __GNUC__
#pragma comment(lib, "advapi32.lib")
#endif