I have a Linux-specific source file that includes a few Linux-specific headers, such as dirent.h
. I added this source file to my cross-platform (Linux) project in VS2017, but IntelliSense is throwing flags at me that it cannot find these headers.
Is there a specific directory I should be adding to my include list to find them?
If not, how do I handle platform specific headers in a cross-platform project?
Edit for clarification: I'm specifically trying to assume that it is a Linux header, but I am editing on a Windows machine using the cross-platform VS feature.