Bug 996738 - Change #define to const int to work better with unified builds. r=mattwoodrow

This commit is contained in:
Kartikaya Gupta 2014-04-15 10:58:00 +02:00
parent c3800c0c18
commit 4ee76dece4

View File

@ -153,25 +153,25 @@ static LayerSortOrder CompareDepth(Layer* aOne, Layer* aTwo) {
#ifdef DEBUG
static bool gDumpLayerSortList = getenv("MOZ_DUMP_LAYER_SORT_LIST") != 0;
#define BLACK 0
#define RED 1
#define GREEN 2
#define YELLOW 3
#define BLUE 4
#define MAGENTA 5
#define CYAN 6
#define WHITE 7
static const int BLACK = 0;
static const int RED = 1;
static const int GREEN = 2;
static const int YELLOW = 3;
static const int BLUE = 4;
static const int MAGENTA = 5;
static const int CYAN = 6;
static const int WHITE = 7;
//#define USE_XTERM_COLORING
#ifdef USE_XTERM_COLORING
#define RESET 0
#define BRIGHT 1
#define DIM 2
#define UNDERLINE 3
#define BLINK 4
#define REVERSE 7
#define HIDDEN 8
static const int RESET = 0;
static const int BRIGHT = 1;
static const int DIM = 2;
static const int UNDERLINE = 3;
static const int BLINK = 4;
static const int REVERSE = 7;
static const int HIDDEN = 8;
static void SetTextColor(uint32_t aColor)
{