title: Superbible 6th edition undefined platform error
body: <p>I just started off with learning openGL from the superbible(6th edition) with code::blocks.
  But when i try to run the first sample code i get an undefined platform error from the sb6.h file.</p>
  
  <p>sample code:</p>
  
  <pre><code>#include "sb6.h"
  
  // Derive my_application from sb6::application
  class my_application : public sb6::application
  {
  public:
      // Our rendering function
      void render(double currentTime)
      {
          // Simply clear the window with red
          static const GLfloat red[] = { 1.0f, 0.0f, 0.0f, 1.0f };
          glClearBufferfv(GL_COLOR, 0, red);
      }
  };
  
  // Our one and only instance of DECLARE_MAIN
  DECLARE_MAIN(my_application);
  </code></pre>
  
  <p>Does anyone know how to fix this?</p>