Skip to content

Commit

Permalink
reorder struct definition
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Oct 20, 2024
1 parent 03d012b commit 51ffca8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/re_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
#else

#if defined(WIN32)
struct thrd_win32 {
HANDLE hdl;
DWORD id;
};

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>

struct thrd_win32 {
HANDLE hdl;
DWORD id;
};
#define ONCE_FLAG_INIT INIT_ONCE_STATIC_INIT
typedef INIT_ONCE once_flag;
typedef struct thrd_win32 thrd_t;
Expand Down

0 comments on commit 51ffca8

Please sign in to comment.