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>
(cherry picked from commit 3b81696)
  • Loading branch information
akirakyle authored and KristofferC committed Aug 29, 2022
1 parent a239589 commit 99b466b
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 99b466b

Please sign in to comment.