Browse Source

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

tags/json-c-0.14-20200419
Eric Haszlakiewicz 5 years ago
parent
commit
5e19c26cae
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      random_seed.c

+ 3
- 1
random_seed.c View File

@@ -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


Loading…
Cancel
Save