From 8365d46eb71035a28a4f58713588aea7b9f70b38 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 14 Jul 2009 10:57:07 +0000 Subject: Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB. svn path=/trunk/netsurf/; revision=8513 --- css/css.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'css/css.c') diff --git a/css/css.c b/css/css.c index 0f652c2e6..b035323d4 100644 --- a/css/css.c +++ b/css/css.c @@ -314,7 +314,7 @@ const struct css_style css_empty_style = { * and the 'Initial value' otherwise. */ const struct css_style css_blank_style = { CSS_BACKGROUND_ATTACHMENT_SCROLL, - TRANSPARENT, + NS_TRANSPARENT, { CSS_BACKGROUND_IMAGE_NONE, 0 }, { { CSS_BACKGROUND_POSITION_PERCENT, { 0.0 } }, { CSS_BACKGROUND_POSITION_PERCENT, { 0.0 } } }, @@ -1596,7 +1596,7 @@ void css_dump_style(FILE *stream, const struct css_style * const style) #define DUMP_COLOR(z, s) \ if (style->z != CSS_COLOR_NOT_SET) { \ - if (style->z == TRANSPARENT) \ + if (style->z == NS_TRANSPARENT) \ fprintf(stream, s ": transparent; "); \ else if (style->z == CSS_COLOR_NONE) \ fprintf(stream, s ": none; "); \ @@ -1751,7 +1751,7 @@ void css_dump_style(FILE *stream, const struct css_style * const style) css_border_style_name[ style->border[i].style]); - if (style->border[i].color == TRANSPARENT) + if (style->border[i].color == NS_TRANSPARENT) fprintf(stream, " transparent"); else if (style->border[i].color == CSS_COLOR_NONE) fprintf(stream, " none"); @@ -2144,7 +2144,7 @@ void css_dump_style(FILE *stream, const struct css_style * const style) fprintf(stream, " invert"); break; case CSS_OUTLINE_COLOR_COLOR: - if (style->outline.color.value == TRANSPARENT) + if (style->outline.color.value == NS_TRANSPARENT) fprintf(stream, " transparent"); else if (style->outline.color.value == CSS_COLOR_NONE) fprintf(stream, " none"); -- cgit v1.2.3