Verified Commit 6687616f authored by Camil Staps's avatar Camil Staps
Browse files

Fix compilation using the Microsoft C compiler

parent c776115d
Pipeline #45901 passed with stage
in 1 minute and 8 seconds
......@@ -29,7 +29,7 @@
#include <string.h>
#include <ctype.h>
#if defined(I486) || defined (LINUX)
#if defined(LINUX) || (defined(I486) && !defined(_WINDOWS_))
# include <unistd.h>
#endif
......@@ -1715,7 +1715,7 @@ static void stop_compiler (void)
}
}
static int call_compiler (char */*unused*/cocl_file_name, char **argv)
static int call_compiler (char * /*unused*/cocl_file_name, char **argv)
{
int r;
char *args;
......@@ -1907,7 +1907,7 @@ static int compile_project_node (P_NODE project_node)
}
strcpy (last_colon,"Clean System Files");
if (access (abc_file_name,F_OK)!=0){
if (access (abc_file_name,0)!=0){
#ifdef QUOTE_SPAWN_ARGUMENTS
if (mkdir (abc_file_name)!=0)
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment