Skip to content

Commit

Permalink
only use windows.h if we're on Windows (in FreeType.h)
Browse files Browse the repository at this point in the history
  • Loading branch information
asquared committed Nov 28, 2010
1 parent 347b365 commit 991feed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FreeType.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#include <freetype/fttrigon.h>

//OpenGL Headers
#ifdef WINDOWS
#include <windows.h> //(the GL headers need it)
#endif
#include <GL/gl.h>
#include <GL/glu.h>

Expand Down Expand Up @@ -160,4 +162,4 @@ namespace freetype {

}

#endif
#endif

0 comments on commit 991feed

Please sign in to comment.