Skip to content

Commit

Permalink
Merge pull request #337 from s-trinh/fix_WIN32_macro
Browse files Browse the repository at this point in the history
Use _WIN32 macro everywhere
  • Loading branch information
christian-rauch committed Jun 23, 2024
2 parents 6319d84 + 78111bb commit 64654c0
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 64654c0

Please sign in to comment.