Ninja: fix sytle
This commit is contained in:
parent
3799848836
commit
42592966c5
|
@ -495,7 +495,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||||
int commandLineLengthLimit = 8000 - linkRuleLength;
|
int commandLineLengthLimit = 8000 - linkRuleLength;
|
||||||
#elif defined(__linux) || defined(__APPLE__)
|
#elif defined(__linux) || defined(__APPLE__)
|
||||||
// for instance ARG_MAX is 2096152 on Ubuntu or 262144 on Mac
|
// for instance ARG_MAX is 2096152 on Ubuntu or 262144 on Mac
|
||||||
int commandLineLengthLimit = ((int)sysconf(_SC_ARG_MAX)) - linkRuleLength - 1000;
|
int commandLineLengthLimit = ((int)sysconf(_SC_ARG_MAX))
|
||||||
|
- linkRuleLength - 1000;
|
||||||
#else
|
#else
|
||||||
int commandLineLengthLimit = -1;
|
int commandLineLengthLimit = -1;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue