Make Windows cross compile again

But this is broken as the utf8/utf16 conversions in windows.c are gone
without glib.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-10-06 21:04:25 -07:00
parent 34db6dc2be
commit 475e058d40
5 changed files with 39 additions and 18 deletions

View file

@ -92,7 +92,7 @@ int get_maxdepth(struct plot_info *pi)
md = ROUND_UP(mm+3000, 10000);
} else {
/* Minimum 30m, rounded up to 10m, with at least 3m to spare */
md = MAX(30000, ROUND_UP(mm+3000, 10000));
md = MAX((unsigned)30000, ROUND_UP(mm+3000, 10000));
}
md += pi->maxpp * 9000;
return md;