Hi,
We understand your frustration with this, however it’s hard to guess what is going on based on the scarce puzzle pieces you provide. The behavior you are describing would be consistent with the ‘unix’ macro simply not being defined (which is the expected behavior for certain types of projects).
We would love to help you, but in order to do that, we need to understand your scenario and what you are trying to accomplish. So please provide the following information so that we can help you:
- The exact steps to create the project (project type/toolchain/etc)
- The steps to reproduce the problem, including the expected outcome and the observed outcome
- A screenshot of the entire VS window showing the problem (often minor details like file names or the navigation bar provide important clues).
E.g. in our experiments the #ifdef unix looks like this:
The macro is not defined (and should not be for this project type), so the code inside #ifdef is grayed out and the code inside #ifndef is working as expected.
-
This reply was modified 7 years ago by support.
Attachments:
You must be
logged in to view attached files.