Trying to log some info about the GL context among other things, and realised that Windows doesn’t provide these macros out of the box:
#ifndef GL_MAJOR_VERSION
GL_MAJOR_VERSION = 0x821b,
#endif
#ifndef GL_MINOR_VERSION
GL_MINOR_VERSION = 0x821c,
#endif