Skip to content

Commit

Permalink
Use "_WIN32" macro everywhere for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Jun 23, 2024
1 parent 6319d84 commit 78111bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/workerpool.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void workerpool_run(workerpool_t *wp)

int workerpool_get_nprocs()
{
#ifdef WIN32
#ifdef _WIN32
SYSTEM_INFO sysinfo;
GetSystemInfo(&sysinfo);
return sysinfo.dwNumberOfProcessors;
Expand Down

0 comments on commit 78111bb

Please sign in to comment.