Changeset 1083:658bb7073506 in roaraudio for libroar/cdrom.c


Ignore:
Timestamp:
12/28/08 18:31:57 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

should disbale use of ioctl() on cdrom devices for win32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/cdrom.c

    r1082 r1083  
    135135  return -1; 
    136136 
     137#ifndef ROAR_TARGET_WIN32 
    137138 if ( (flags = fcntl(cdrom->fh, F_GETFL, 0)) == -1 ) { 
    138139  close(cdrom->fh); 
     
    148149  return -1; 
    149150 } 
     151#endif 
    150152 
    151153 return 0; 
Note: See TracChangeset for help on using the changeset viewer.