Commit 800629a7 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Fix blc_stderr_ansi undefined

parent 7b62a7ac
......@@ -457,7 +457,7 @@ void blc_program_init(int *argc, char ***argv, void (*exit_cb)(void))
blc_output_terminal=isatty(STDOUT_FILENO);
if (isatty(STDERR_FILENO) && blc_input_terminal) blc_stderr_ansi=1;
else blc_stderr_ansi; //This is not waranty. It is safer to use blc_stderr_ansi_detect but it causes trouble when many program are launched at once
else blc_stderr_ansi=0; //This is not waranty. It is safer to use blc_stderr_ansi_detect but it causes trouble when many program are launched at once
blc_program_add_option(&profile, '~', "profile", "filename", "profile the execution of the loop", NULL);
blc_program_add_option(&help, 'h', "help", 0, "display this help", NULL);
......
Supports Markdown
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