Skip to content

Commit 0eaee5c

Browse files
committed
Implement os.getnumcpus on Hurd.
1 parent e554d8f commit 0eaee5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/os_getnumcpus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ int do_getnumcpus()
4848
{
4949
return 0;
5050
}
51-
#elif PLATFORM_SOLARIS | PLATFORM_AIX | PLATFORM_MACOSX | PLATFORM_BSD
51+
#elif PLATFORM_SOLARIS | PLATFORM_AIX | PLATFORM_MACOSX | PLATFORM_BSD | PLATFORM_HURD
5252
return sysconf(_SC_NPROCESSORS_ONLN);
5353
#else
5454
#warning do_getnumcpus is not implemented for your platform yet

0 commit comments

Comments
 (0)