- std::string pathMakefile = pathFixed + "/Makefile";
- FILE* pFile = fopen(pathMakefile.c_str(), "r");
-
+ std::string pathMakefile = pathFixed + CDMUtilities::SLASH + "Makefile";
+ FILE* pFile;
+#ifdef _WIN32
+ errno_t errorOpen = fopen_s(&pFile, pathMakefile.c_str(), "r");
+#else
+ pFile = fopen(pathMakefile.c_str(), "r");
+ bool errorOpen = (pFile == NULL);
+#endif