more msdos cross-compile fixes

undefined reference to g.variables if certain parts of
drawing.c are included in host-side utilities, so
surround the offending code in
->  #if !defined(CROSSCOMPILE) || defined(CROSSCOMPILE_TARGET)
This commit is contained in:
nhmall
2019-11-26 00:02:38 -05:00
parent 7fcccdf5c6
commit 36983e6889
3 changed files with 35 additions and 36 deletions

View File

@@ -291,6 +291,7 @@ char ch;
return i;
}
#if !defined(CROSSCOMPILE) || defined(CROSSCOMPILE_TARGET)
/*
* Explanations of the functions found below:
*
@@ -810,5 +811,6 @@ const struct symparse loadsyms[] = {
{ SYM_OTH, SYM_HERO_OVERRIDE + SYM_OFF_X, "S_hero_override" },
{ 0, 0, (const char *) 0 } /* fence post */
};
#endif /* !CROSSCOMPILE || CROSSCOMPILE_TARGET */
/*drawing.c*/