diff --git a/internal/c/common.h b/internal/c/common.h index a6f36d384..8b63fdf51 100644 --- a/internal/c/common.h +++ b/internal/c/common.h @@ -39,6 +39,7 @@ //core #ifdef QB64_GUI #ifdef QB64_GLUT +//This file only contains header stuff #include "parts/core/src.c" #endif #endif @@ -51,7 +52,6 @@ #define int64 __int64 #endif -//#include #include #include diff --git a/internal/c/parts/core/src.c b/internal/c/parts/core/src.c index fd1fc5582..c52559b3f 100644 --- a/internal/c/parts/core/src.c +++ b/internal/c/parts/core/src.c @@ -2,12 +2,6 @@ #include "glew/include/GL/glew.h" #endif -#ifdef QB64_ANDROID - #include - #include - #include -#endif - #ifdef QB64_MACOSX //note: MacOSX uses Apple's GLUT not FreeGLUT #include @@ -16,14 +10,5 @@ #include #else #define CORE_FREEGLUT - #ifdef QB64_ANDROID - #include "android_core/include/GL/freeglut.h" - #include "glues/src/glues.h" - #else - #ifdef QB64_BACKSLASH_FILESYSTEM - #include "src\\freeglut.h" - #else - #include "src/freeglut.h" - #endif - #endif + #include "src/freeglut.h" #endif