Skip to content

Commit

Permalink
Conditional headers for OSX and other platforms will likely need to b…
Browse files Browse the repository at this point in the history
…e changed for other platforms.

Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
  • Loading branch information
ncb000gt committed Jun 11, 2010
1 parent fe6e330 commit 3306fab
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@
#include <sys/time.h>

// OpenGL Includes
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#endif // __APPLE__


//TODO: Add osx headers
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else // Other than __APPLE__
#include <GL/gl.h>
#include <GL/glu.h>
#endif

// Binding includes
#include "gl.h"
Expand Down

0 comments on commit 3306fab

Please sign in to comment.