#ifndef __IMPORTGL_H__ #define __IMPORTGL_H__ #ifdef __cplusplus extern "C" { #endif #if defined(__PLATFORM__X11) #include #include #elif defined(__PLATFORM__DoubleBuffer) #elif defined(__PLATFORM__Android) #include void glOrtho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal); #elif defined(__PLATFORM__AndroidTablet) #include void glOrtho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal); #elif defined(__PLATFORM__IPhone) #elif defined(__PLATFORM__IPad) #else #error you need to specify a platform ... #endif #ifdef __cplusplus } #endif #endif