From: Pierre Joye Date: Fri, 24 Apr 2009 11:34:38 +0000 (+0000) Subject: - fix logic X-Git-Tag: php-5.3.0RC2~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4c90952b081d45b17b860d694215fe7986d66dc;p=php - fix logic --- diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 1f9821ba3b..d43982498f 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -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); + } } }