Add a small change to make the header more friendly to the Intel Compiler

This commit is contained in:
Zhao Huang 2011-12-22 08:30:07 +00:00
parent f647872b2b
commit 3138076bc4

View File

@ -54,7 +54,7 @@ typedef double GLdouble;
// system GL version matches or exceeds the GL version in which these // system GL version matches or exceeds the GL version in which these
// functions are defined, and the system gl.h sometimes doesn't // functions are defined, and the system gl.h sometimes doesn't
// declare these typedefs. // declare these typedefs.
#ifndef __EDG__ // Protect the following from the Tau instrumentor. #if !defined( __EDG__ ) || defined( __INTEL_COMPILER ) // Protect the following from the Tau instrumentor and expose it for the intel compiler.
typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);