I want to include dirent.h in my visual studio project. I wish to have compatibility both with unix and windows. That is why I am considering using https://github.com/tronkko/dirent . In that project, the documentation says:
If you wish to distribute dirent.h alongside with your own source code, then copy include/dirent.h file to a new sub-directory within your project and add that directory to include path on Windows while omitting the directory under Linux/UNIX. This allows your project to be compiled against native dirent.h on Linux/UNIX while substituting the functionality on Microsoft Windows.
which are the steps to do that in visual studio? (I am using 2017 version but I suppose that it will be similar to older versions)