I've always checked supported OpenGL version by running:
if (GLEW_VERSION_3_0)
This seemed to work fine until I tried it on another computer. This computer is running Fedora 19 and the glewinfo executable reports up to version 4.0. However GLEW_VERSION_3_0 is false. I switched the keyword to GL_VERSION_3_0 and that seems to work better.
So what is the difference between these to variables?