首页 > 代码库 > 原来编译错误还可以这么写

原来编译错误还可以这么写

#if defined(__gl_h_) || defined(__GL_H__)
#error gl.h included before glew.h
#endif
 
===============
fatal error C1189: #error :  gl.h included before glew.h     c:\program files (x86)\microsoft visual studio 9.0\vc\include\gl\glew.h     84     testLib3DS

原来编译错误还可以这么写