Fix mac
This commit is contained in:
@@ -357,5 +357,6 @@ int main(int argc, char **argv) {
|
|||||||
SRC_InitCache(Perm, S8_Lit("build_file.cache"));
|
SRC_InitCache(Perm, S8_Lit("build_file.cache"));
|
||||||
int result = Main();
|
int result = Main();
|
||||||
if (result == 0) SRC_SaveCache();
|
if (result == 0) SRC_SaveCache();
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -60,7 +60,7 @@ int main(int argument_count, char **arguments) {
|
|||||||
|
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
IO_Printf("FAILED compilation of the build file!\n");
|
IO_Printf("FAILED compilation of the build file!\n");
|
||||||
return result;
|
return 1;
|
||||||
}
|
}
|
||||||
time = OS_GetTime() - time;
|
time = OS_GetTime() - time;
|
||||||
IO_Printf("TIME Build file compilation: %f\n", time);
|
IO_Printf("TIME Build file compilation: %f\n", time);
|
||||||
@@ -72,7 +72,7 @@ int main(int argument_count, char **arguments) {
|
|||||||
int result = OS_SystemF(IF_WINDOWS_ELSE("", "./") "%Q %Q", exe_name, cmdline_args);
|
int result = OS_SystemF(IF_WINDOWS_ELSE("", "./") "%Q %Q", exe_name, cmdline_args);
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
printf("FAILED execution of the build file!\n");
|
printf("FAILED execution of the build file!\n");
|
||||||
return result;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
time = OS_GetTime() - time;
|
time = OS_GetTime() - time;
|
||||||
|
|||||||
Reference in New Issue
Block a user