Verified Commit b4a2eedc authored by Camil Staps's avatar Camil Staps
Browse files

Fix compilation using the Microsoft C compiler

parent c776115d
Pipeline #45900 passed with stage
in 18 seconds
......@@ -29,10 +29,6 @@
#include <string.h>
#include <ctype.h>
#if defined(I486) || defined (LINUX)
# include <unistd.h>
#endif
#include <signal.h>
#ifdef A_64
......@@ -1715,7 +1711,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 +1903,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