Knows where to look for glut.h on Mac with Clang compilers (command-line compilers under current XCode).

pull/602/head
Russ Taylor 2015-07-04 16:27:00 -04:00
parent 931cb7da71
commit 386ff96530
1 changed files with 4 additions and 0 deletions

View File

@ -14,7 +14,11 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#ifdef __APPLE__
#include <glut.h>
#else
#include <GL/glut.h> #include <GL/glut.h>
#endif
/* assimp include files. These three are usually needed. */ /* assimp include files. These three are usually needed. */
#include <assimp/cimport.h> #include <assimp/cimport.h>