GLext.h won't compile


I’m trying to compile the typical GLext.h file for using OpenGL extensions. The GLext.h file, among 5000 other lines of code, contains a whole bunch of statements of the form:

typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);

My compiler is not liking these statements. Does anyone know why not or have any advice on getting GLext.h to compile? I’m using GCC, by the way.

Note: I’m putting this on both the beginner and advanced forums, only because I honestly don’t know where this should go.

See this threadfor an answer.