Skip to content

Commit

Permalink
Fix WIN32 typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Jun 22, 2024
1 parent 6319d84 commit 306cf11
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 306cf11

Please sign in to comment.