diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-17 13:55:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-17 13:55:12 +0000 |
commit | 2d20b9d88c4fc91637babaafa4a60dd7943e03a7 (patch) | |
tree | 7c4df30c9160457f174b7c33d331f889a24f84b1 /configs | |
parent | d2804fc6020aad3f9d0ed914d8c2aefa37ffa6d8 (diff) | |
download | busybox-w32-2d20b9d88c4fc91637babaafa4a60dd7943e03a7.tar.gz busybox-w32-2d20b9d88c4fc91637babaafa4a60dd7943e03a7.tar.bz2 busybox-w32-2d20b9d88c4fc91637babaafa4a60dd7943e03a7.zip |
nproc: port to WIN32 and enable by default
Use the WIN32 API GetProcessAffinityMask() to obtain the number
of processors configured and the number available to the current
process. This only works for up to 64 processors.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/mingw32_defconfig | 4 | ||||
-rw-r--r-- | configs/mingw64_defconfig | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig index 772f7fdb9..7108c2dda 100644 --- a/configs/mingw32_defconfig +++ b/configs/mingw32_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Busybox version: 1.34.0.git | 3 | # Busybox version: 1.34.0.git |
4 | # Sat Feb 13 10:29:16 2021 | 4 | # Wed Feb 17 13:34:38 2021 |
5 | # | 5 | # |
6 | CONFIG_HAVE_DOT_CONFIG=y | 6 | CONFIG_HAVE_DOT_CONFIG=y |
7 | # CONFIG_PLATFORM_POSIX is not set | 7 | # CONFIG_PLATFORM_POSIX is not set |
@@ -295,7 +295,7 @@ CONFIG_MV=y | |||
295 | # CONFIG_NICE is not set | 295 | # CONFIG_NICE is not set |
296 | CONFIG_NL=y | 296 | CONFIG_NL=y |
297 | # CONFIG_NOHUP is not set | 297 | # CONFIG_NOHUP is not set |
298 | # CONFIG_NPROC is not set | 298 | CONFIG_NPROC=y |
299 | CONFIG_OD=y | 299 | CONFIG_OD=y |
300 | CONFIG_PASTE=y | 300 | CONFIG_PASTE=y |
301 | CONFIG_PRINTENV=y | 301 | CONFIG_PRINTENV=y |
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index f73f23fa3..0cb4f4a3e 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Busybox version: 1.34.0.git | 3 | # Busybox version: 1.34.0.git |
4 | # Sat Feb 13 10:37:01 2021 | 4 | # Wed Feb 17 13:34:38 2021 |
5 | # | 5 | # |
6 | CONFIG_HAVE_DOT_CONFIG=y | 6 | CONFIG_HAVE_DOT_CONFIG=y |
7 | # CONFIG_PLATFORM_POSIX is not set | 7 | # CONFIG_PLATFORM_POSIX is not set |
@@ -295,7 +295,7 @@ CONFIG_MV=y | |||
295 | # CONFIG_NICE is not set | 295 | # CONFIG_NICE is not set |
296 | CONFIG_NL=y | 296 | CONFIG_NL=y |
297 | # CONFIG_NOHUP is not set | 297 | # CONFIG_NOHUP is not set |
298 | # CONFIG_NPROC is not set | 298 | CONFIG_NPROC=y |
299 | CONFIG_OD=y | 299 | CONFIG_OD=y |
300 | CONFIG_PASTE=y | 300 | CONFIG_PASTE=y |
301 | CONFIG_PRINTENV=y | 301 | CONFIG_PRINTENV=y |