mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
- fix logic
This commit is contained in:
parent
3110003f3e
commit
f4c90952b0
@ -150,11 +150,12 @@ ARG_WITH('mp', 'Tell VC9 use up to [n,auto,disable] processes for compilation',
|
||||
if (VCVERS >= 1500 && PHP_MP != 'disable') {
|
||||
if(PHP_MP == 'auto') {
|
||||
ADD_FLAG('CFLAGS', ' /MP ');
|
||||
}
|
||||
if(parseInt(PHP_MP) != 0) {
|
||||
ADD_FLAG('CFLAGS', ' /MP'+ PHP_MP +' ');
|
||||
} else {
|
||||
STDOUT.WriteLine('WARNING: Invalid argument for MP: ' + PHP_MP);
|
||||
if(parseInt(PHP_MP) != 0) {
|
||||
ADD_FLAG('CFLAGS', ' /MP'+ PHP_MP +' ');
|
||||
} else {
|
||||
STDOUT.WriteLine('WARNING: Invalid argument for MP: ' + PHP_MP);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user