//the Makefile defines one of these: //#define USE_OPENGL_ES //#define USE_OPENGL_DESKTOP #ifdef USE_OPENGL_ES #define GLHEADER #endif #ifdef USE_OPENGL_DESKTOP //why the hell this naming inconsistency exists is well beyond me #ifdef WIN32 #define sleep Sleep #endif #define GLHEADER #endif #include std::string getHomePath(); int runShutdownCommand(); // shut down the system (returns 0 if successful) int runRestartCommand(); // restart the system (returns 0 if successful)