Problems building with Borland C++ 4

Hey - I’m trying to build a project at school with Borland C++ 4.0

I get build errors when using gl.h

The first is a declaration syntax error on line 1152:

WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);

The rest all are related to that error. Anybody know how to fix this?

Did you include <windows.h> before <GL/gl.h>?

Hehe, okay, that fixed that. Another problem, though. I get an error (E2337) on line 98 of glut.h (which is)

extern _CRTIMP void __cdecl exit(int);

that reads “Only one of a set of overloaded functions can be “C”” - any ideas?