Changeset 5016:d755412ea43d in roaraudio for libroar/enumdev.c


Ignore:
Timestamp:
05/26/11 13:49:55 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for f{,d,re}open() and fclose()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/enumdev.c

    r4780 r5016  
    176176} 
    177177 
     178#ifdef ROAR_HAVE_FOPEN 
    178179static ssize_t _esl_neighbours(int flags, int dir, int socktype, char ** servers, size_t maxlen) { 
    179180 ssize_t ret = 0; 
     
    249250 return ret; 
    250251} 
     252#endif 
    251253 
    252254struct locmed { 
     
    258260 {ROAR_ENUM_FLAG_NONBLOCK|ROAR_ENUM_FLAG_HARDNONBLOCK, _esl_defaults}, 
    259261 {ROAR_ENUM_FLAG_NONE,                                 _esl_slp}, 
     262#ifdef ROAR_HAVE_FOPEN 
    260263 {ROAR_ENUM_FLAG_NONBLOCK,                             _esl_neighbours} 
     264#endif 
    261265}; 
    262266 
Note: See TracChangeset for help on using the changeset viewer.