it’s in glext.h among the GL_APPLE_texture_range extension.
#if GL_APPLE_texture_range
#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
#define GL_TEXTURE_MINIMIZE_STORAGE_APPLE 0x85B6
#endif