That's really beyond the point. That's like me asking why my front bicycle wheel randomly disappeared and you telling me I should be driving a car. Just finding a more modern way doesn't answer why this changed for no reason, and without understanding why it happened, I may find myself with the same problem in modern methods and libraries.
Anyway, here are the two problem lines:
extern int _RTLENTRY _directvideo; // Line 92
#endif /* __DPMI16__ || !_Windows */
extern int _RTLENTRY _wscroll; // Line 96