Skip to content

Commit

Permalink
fix ordering of windows includes
Browse files Browse the repository at this point in the history
  • Loading branch information
phlptp committed Jan 13, 2023
1 parent b0bb589 commit 445f908
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions include/CLI/impl/Argv_inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@
#endif
#endif
#define NOMINMAX
#include <errhandlingapi.h>
#include <processenv.h>
//first
#include <windef.h>
//second
#include <winbase.h>
//third
#include <processthreadsapi.h>
#include <shellapi.h>
#include <winbase.h>
#include <windef.h>

#undef NOMINMAX
#elif defined(__APPLE__)
#include <crt_externs.h>
Expand Down

0 comments on commit 445f908

Please sign in to comment.