misc: Update NO_COLOR define switch
authorStephan Veigl <veigl@gmx.net>
Fri, 9 Nov 2012 08:32:10 +0000 (09:32 +0100)
committerStephan Veigl <veigl@gmx.net>
Thu, 29 Nov 2012 10:05:33 +0000 (11:05 +0100)
commit43c83e991c0705b7dc981ca760aa14fd3331604c
tree3b801b88bb08e76ef41eded3c37e2922cc8998b2
parent26689f832a6bf077f7412d301f60ba615bbc7d50
misc: Update NO_COLOR define switch

The NO_COLOR define switch is a preparation for the Windows version.
Since the standard Windows command prompt is not able to display
ANSI color statements correctly. With this define switch it is
possible to remove any coloring of the output. This will be set
automatically in the MinGW patch.
The color definitions are moved from sim_core.c to sim_core.h since
they are used in other macros as well.

Signed-off-by: Stephan Veigl <veigl@gmx.net>
simavr/sim/sim_core.c
simavr/sim/sim_core.h