Skip to content

Commit

Permalink
Fix ordering of headers so #define _GNU_SOURCE comes first (#46183)
Browse files Browse the repository at this point in the history
Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
  • Loading branch information
akirakyle and KristofferC authored Aug 26, 2022
1 parent 98e1b13 commit 3b81696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
#define realloc loader_realloc
#endif

#include <stdint.h>

#ifdef _OS_WINDOWS_

#define WIN32_LEAN_AND_MEAN
Expand All @@ -49,6 +47,8 @@

#endif

#include <stdint.h>

// Borrow definition from `support/dtypes.h`
#ifdef _OS_WINDOWS_
# ifdef LIBRARY_EXPORTS
Expand Down

0 comments on commit 3b81696

Please sign in to comment.