Ignore:
Timestamp:
Nov 14, 2006, 7:02:29 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added all the glue needed for a Cocoa output driver.
File:
1 edited

Legend:

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

    r1362 r1396  
    163163#if defined(HAVE_GETENV) && defined(HAVE_STRCASECMP)
    164164    char *var = getenv("CACA_DRIVER");
    165    
     165
    166166    /* If the environment variable was set, use it */
    167167    if(var && *var)
    168168    {
     169#if defined(USE_COCOA)
     170        if(!strcasecmp(var, "cocoa")) return cocoa_install(dp);
     171#endif
    169172#if defined(USE_WIN32)
    170173        if(!strcasecmp(var, "win32")) return win32_install(dp);
     
    195198#endif
    196199
     200#if defined(USE_COCOA)
     201    if(cocoa_install(dp) == 0) return 0;
     202#endif
    197203#if defined(USE_WIN32)
    198204    if(win32_install(dp) == 0) return 0;
Note: See TracChangeset for help on using the changeset viewer.