diff --git a/dtool/src/dtoolbase/dtool_platform.h b/dtool/src/dtoolbase/dtool_platform.h index 3f32e2d238..ad2f85767f 100644 --- a/dtool/src/dtoolbase/dtool_platform.h +++ b/dtool/src/dtoolbase/dtool_platform.h @@ -79,6 +79,9 @@ #elif defined(__ppc__) #define DTOOL_PLATFORM "linux_ppc" + +#elif defined(__e2k__) +#define DTOOL_PLATFORM "linux_e2k" #endif #if !defined(DTOOL_PLATFORM) && !defined(CPPPARSER) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.h b/panda/src/glstuff/glGraphicsStateGuardian_src.h index b56cbf1774..d9c8ab3265 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.h +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.h @@ -55,7 +55,7 @@ typedef double GLdouble; // mainly because they will not be included from glext.h if the system GL // version matches or exceeds the GL version in which these functions are // defined, and the system gl.h sometimes doesn't declare these typedefs. -#if !defined( __EDG__ ) || defined( __INTEL_COMPILER ) // Protect the following from the Tau instrumentor and expose it for the intel compiler. +#if !defined( __EDG__ ) || defined( __INTEL_COMPILER ) || defined( __MCST__ ) // Protect the following from the Tau instrumentor and expose it for the intel compiler. typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); typedef void (APIENTRY *GLDEBUGPROC_P)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const GLvoid *userParam); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC_P) (GLDEBUGPROC_P callback, const void *userParam);