Dimitar Zhekov escribió:
This fixes grx enough for "make test" to work with DOS / BCC. I can't help with "make bgitest", as it seems to need some grx-to-bgi library. bin2c has only been tested under DOS / BCC, and I may be _wrong_ to presume that it needs <unistd.h> for the SEEK_XXX defines only. Apply vesaif16.dif first.
Thanks Dimitar.
GRX includes now the grx-to-bgi library (bccbgi). I think if you check makedefs.grx and src/makefile.dj2 (by example) you will understand how it works. But probably bccbgi doesn't have sense for a Borland compiler, because bgi graphics are native for it (and I think the bccbgi library is not 16 bit clean).
The bin2c patch is not acceptable, a construction like:
#ifdef __BORLANDC__ #include <whoknows.h> #else #include <unistd.h> #endif
will be ok.
Greetings, M.Alvarez