Closed nicraMarcin closed 2 years ago
Do you need unistd for what ? It doesn't exist on Windows (it's and ifndef not ifdef !) direct.h is need for Windows (_mkdir), I think you forget to define the preprocessor macro "LINUX"
I suggest this if it's necessary for your build :
#ifndef LINUX
#include <direct.h> // mkdir
#else
#include <unistd.h>
#endif
Hi @nicraMarcin
Something similar has been made in the last commit for the CMakeLists.txt file. The modifications to the 2 other files are not necessary for now.
Best regards.
I will look at your commit soon. Thanks !