GL_STENCIL_INDEX compilation error

Hi, I get a compilation error building the Lua binding.

‘GL_STENCIL_INDEX’ was not declared in this scope LuaCocos2d.cpp /lua/cocos2dx_support line 65616 C/C++ Problem

The offending line is one of many that look like this:

tolua_constant(tolua_S,“GL_STENCIL_INDEX”,GL_STENCIL_INDEX);

This is on Mac OS X (mountain lion) building for BB10 (using BlackBerry SDK 10.1, which is basically Eclipse).

If I comment out that line, it builds and I can run apps. Just thought you’d like to know.

En, in the IOS7 sdk ,the gl.h has not define GL_STENCIL_INDEX.

So is it removed from new OpenGL or something?

It will be commentated