C problem with legacy code
Hi,
I am working on updating some old DOS C code and am getting the following errors:
Undefined symbol _O_RDONLY
Undefined symbol _O_BINARY
Call to function '_filelength' with no prototype
Any ideas what might be missing to cause these?
I have tried numerous old compilers so, currently these are being generated by Turbo C++ Version 3.1
I was getting even more errors with the earlier version of Turbo C, and all current compilers. The reason I am going back so far is that I have been told the code is 16 bit DOS specific.
Any help would be appreciated, my head hurts.