I am trying to compile one of the Android NDK samples, specifically "native-activity". I created a Project for this sample in Eclipse using the "Android Project from Existing Code" option, and then converting it to native using the "Android Tools -> Add Native Support" option from the Project Menu. 

Unfortunately, when I build I get the following error:

Type 'EGL\_DEFAULT\_DISPLAY' could not be resolved

I have searched around for this problem, and what most people say is that `"__ANDROID__"` needs to be defined during the compile. The advice is to add this as a Symbol from the "C/C++ General -> Paths and Symbols" window in the Project Properties.

But my problem is that I don't actually have a "Symbols" tab in "Paths and Symbols". I do have it for other C++ Projects ( non NDK ), but I don't have it here. 

![enter image description here](https://i.stack.imgur.com/TQDYs.png)

I am guessing this has to do with the way that the NDK Plugin for Eclipse works. Is there any other way to get this Symbol defined with the options here? Or do I need to find a different way to add C++ support to the Android Project that gives me the "Symbols" tab?