Changeset 3872:51fe5bedbd0a in roaraudio


Ignore:
Timestamp:
05/20/10 20:32:11 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

become more portable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r3871 r3872  
    6969#ifndef ENOTSUP 
    7070#define ENOTSUP ENOSYS 
     71#endif 
     72 
     73#ifndef O_LARGEFILE 
     74#define O_LARGEFILE 0 
     75#endif 
     76 
     77#ifndef O_NOATIME 
     78#define O_NOATIME 0 
    7179#endif 
    7280 
     
    16681676  case F_SETFL: 
    16691677  case F_SETOWN: 
     1678#ifdef F_SETSIG 
    16701679  case F_SETSIG: 
     1680#endif 
     1681#ifdef F_SETLEASE 
    16711682  case F_SETLEASE: 
     1683#endif 
     1684#ifdef F_NOTIFY 
    16721685  case F_NOTIFY: 
     1686#endif 
    16731687    type = LONG; 
    16741688   break; 
     
    16761690  case F_GETFL: 
    16771691  case F_GETOWN: 
     1692#ifdef F_GETSIG 
    16781693  case F_GETSIG: 
     1694#endif 
     1695#ifdef F_GETLEASE 
    16791696  case F_GETLEASE: 
     1697#endif 
    16801698    type = NONE; 
    16811699   break; 
Note: See TracChangeset for help on using the changeset viewer.