Skip to content

Commit

Permalink
Fix Windows Build
Browse files Browse the repository at this point in the history
Summary: d260fc0 broke Kineto on Windows because it reordered includes. Reordering them back in this diff.

Differential Revision: D64213969
  • Loading branch information
sraikund16 authored and facebook-github-bot committed Oct 11, 2024
1 parent 00a00e0 commit 5712ee0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libkineto/src/ThreadUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
#include <locale>
#define WIN32_LEAN_AND_MEAN
#define NOGDI
#include <processthreadsapi.h>
#include <windows.h>
#include <windows.h> // @manual
// windows.h has to come first. Don't alphabetize, clang-format.

#include <processthreadsapi.h> // @manual
#undef ERROR
#endif // _WIN32

Expand Down

0 comments on commit 5712ee0

Please sign in to comment.