Skip to content

Commit

Permalink
pcm: make --color default on UNIX-like OSes
Browse files Browse the repository at this point in the history
Change-Id: I17be6a11df7bc81907447d0be1854540917bff55
  • Loading branch information
rdementi committed Jan 17, 2025
1 parent 4887dd6 commit ce57f4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ void exit_cleanup(void)
}
}


#ifdef _MSC_VER
bool colorEnabled = false;
#else
bool colorEnabled = true;
#endif

void setColorEnabled(bool value)
{
Expand Down

0 comments on commit ce57f4c

Please sign in to comment.