From c9570afbbeea590b44daae1e54e449395da37584 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 27 Jun 2007 14:43:59 +0000 Subject: [PATCH] * Compilation fix for systems (e.g. Darwin) where SLtt_Has_Alt_Charset does not exist, courtesy of Ben Wiley Sittler. --- caca/driver_slang.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/caca/driver_slang.c b/caca/driver_slang.c index ded7870..52e843b 100644 --- a/caca/driver_slang.c +++ b/caca/driver_slang.c @@ -159,9 +159,11 @@ static int slang_init_graphics(caca_display_t *dp) slang_init_palette(); +#if defined(VMS) || defined(REAL_UNIX_SYSTEM) /* Disable alt charset support so that we get a chance to have all * 256 colour pairs */ SLtt_Has_Alt_Charset = 0; +#endif #ifdef HAVE_SLSMG_UTF8_ENABLE SLsmg_utf8_enable(1); /* 1 == force, 0 == disable, -1 == autodetect */