if (idx == FACE_TTY_DEFAULT_BG_COLOR)
return build_string (unspecified_bg);
-#ifdef WINDOWSNT
- return vga_stdcolor_name (idx);
-#endif
-
return Qunspecified;
}
{
pixel = load_color (f, face, color, idx);
-#if defined (MSDOS) || defined (WINDOWSNT)
+#ifdef MSDOS
/* If the foreground of the default face is the default color,
use the foreground color defined by the frame. */
-#ifdef MSDOS
if (FRAME_MSDOS_P (f))
{
-#endif /* MSDOS */
if (pixel == default_pixel
|| pixel == FACE_TTY_DEFAULT_COLOR)
{
face->lface[idx] = tty_color_name (f, pixel);
*defaulted = 1;
}
-#ifdef MSDOS
- }
-#endif
-#endif /* MSDOS or WINDOWSNT */
+ }
+#endif /* MSDOS */
}
if (foreground_p)