Improve portability to really outmoded compilers
A few modernisms have crept in: * Trailing comma in enum definition (commit71320ed
, v4.3.10) * // comment (commit265e71e
, v4.3.11) * <stdint.h> (commit9102ecc
, v4.3.31) MSC actually chokes on this one. Avoid them. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
7f68f37433
commit
341b1b4d15
3 changed files with 9 additions and 6 deletions
|
@ -78,7 +78,7 @@ upd_buildeff(struct natstr *np, struct sctstr *sp, int *workp,
|
|||
neweff = n;
|
||||
*cost += work_cost;
|
||||
if (!n && IS_BIG_CITY(old_type) && !IS_BIG_CITY(*desig)) {
|
||||
// FIXME use trunc_people() and total_work()
|
||||
/* FIXME use trunc_people() and total_work() */
|
||||
int maxpop = max_population(np->nat_level[NAT_RLEV], *desig, n);
|
||||
if (vec[I_CIVIL] > maxpop)
|
||||
vec[I_CIVIL] = maxpop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue