Ignore:
Timestamp:
Mar 9, 2006, 1:41:02 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Pure VGA output driver.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.c

    r554 r565  
    2222#include "config.h"
    2323
    24 #include <stdlib.h>
    25 #include <string.h>
     24#if !defined(__KERNEL__)
     25#   include <stdlib.h>
     26#   include <string.h>
     27#endif
    2628
    2729#include "cucul.h"
     
    152154        else
    153155#endif
     156#if defined(USE_VGA)
     157        if(!strcasecmp(var, "vga"))
     158            vga_init_driver(kk);
     159        else
     160#endif
    154161            return -1;
    155162
     
    164171#if defined(USE_CONIO)
    165172    conio_init_driver(kk);
     173    return 0;
     174#endif
     175#if defined(USE_VGA)
     176    vga_init_driver(kk);
    166177    return 0;
    167178#endif
Note: See TracChangeset for help on using the changeset viewer.