MFT: VC10 build support

This commit is contained in:
Kalle Sommer Nielsen 2009-12-03 11:50:32 +00:00
parent 0f0f5f229b
commit 1063c8346b
6 changed files with 33 additions and 10 deletions

View file

@ -148,7 +148,7 @@ if (VCVERS >= 1400) {
}
}
ARG_WITH('mp', 'Tell VC9 use up to [n,auto,disable] processes for compilation', 'auto');
ARG_WITH('mp', 'Tell VC9+ use up to [n,auto,disable] processes for compilation', 'auto');
if (VCVERS >= 1500 && PHP_MP != 'disable') {
// no from disable-all
if(PHP_MP == 'auto' || PHP_MP == 'no') {

View file

@ -238,7 +238,12 @@ typedef uint64_t uintmax_t;
#define INTMAX_C INT64_C
#define UINTMAX_C UINT64_C
static __inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
#if _MSC_VER < 1600
static __inline int64_t llabs(int64_t i)
{
return i >= 0 ? i: -i;
}
#endif
#endif // __STDC_CONSTANT_MACROS ]