Compiling a hello world application with Borland C++ 5.2 produces a binary that stops execution because GlobalMemoryStatus is not implemented. From what I can tell, it is used to determine available memory.
I have an implementation by codex that fixes it, but have not thoroughly reviewed it yet before opening a PR. It basically determines available memory from host OS and passes those on (clamped to pointer size). Let me know if you want me to open a PR anyway, or come up with another fix.
Compiling a hello world application with Borland C++ 5.2 produces a binary that stops execution because
GlobalMemoryStatusis not implemented. From what I can tell, it is used to determine available memory.I have an implementation by codex that fixes it, but have not thoroughly reviewed it yet before opening a PR. It basically determines available memory from host OS and passes those on (clamped to pointer size). Let me know if you want me to open a PR anyway, or come up with another fix.