Changeset 5040:303d9420b21e in roaraudio for libroar


Ignore:
Timestamp:
05/29/11 08:45:06 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test and support ECHERNOBYL, ECRAY, ENOHORSE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/error.c

    r5034 r5040  
    279279  case ESPIPE:       _roar_errno = ROAR_ERROR_BADSEEK; break; 
    280280#endif 
     281#ifdef ECHERNOBYL 
     282  case ECHERNOBYL:   _roar_errno = ROAR_ERROR_CHERNOBYL; break; 
     283#endif 
     284#ifdef ECRAY 
     285  case ECRAY:        _roar_errno = ROAR_ERROR_CAUSALITY; break; 
     286#endif 
     287#ifdef ENOHORSE 
     288  case ENOHORSE:     _roar_errno = ROAR_ERROR_NOHORSE; break; 
     289#endif 
    281290  default: 
    282291    _roar_errno = ROAR_ERROR_UNKNOWN; 
     
    523532   break; 
    524533#endif 
     534#ifdef ECHERNOBYL 
     535  case ROAR_ERROR_CHERNOBYL: 
     536    errno = ECHERNOBYL; 
     537   break; 
     538#endif 
     539#ifdef ECRAY 
     540  case ROAR_ERROR_CAUSALITY: 
     541    errno = ECRAY; 
     542   break; 
     543#endif 
     544#ifdef ENOHORSE 
     545  case ROAR_ERROR_NOHORSE: 
     546    errno = ENOHORSE; 
     547   break; 
     548#endif 
     549 
    525550  default: 
    526551#ifdef EINVAL 
Note: See TracChangeset for help on using the changeset viewer.