ES-DE/src/platform.h

21 lines
351 B
C
Raw Normal View History

2012-09-10 18:48:00 +00:00
//the Makefiles define these via command line
//#define _RPI_
//#define _DESKTOP_
#ifdef _RPI_
#define GLHEADER <GLES/gl.h>
#endif
#ifdef _DESKTOP_
//why the hell this naming inconsistency exists is well beyond me
#ifdef _WIN32
#define sleep Sleep
#endif
#define GLHEADER <SDL_opengl.h>
2012-09-10 18:48:00 +00:00
#endif
#include <string>
std::string getHomePath();