Changeset 1763:7b114d43d4d3 in roaraudio


Ignore:
Timestamp:
05/19/09 11:41:18 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

roar_simple_close() need to use win32 close func on win32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r1660 r1763  
    335335 
    336336int roar_simple_close(int fh) { 
     337#ifdef ROAR_TARGET_WIN32 
     338 closesocket(fh); 
     339 return 0; 
     340#else 
     341 
    337342#ifdef ROAR_HAVE_IO_POSIX 
    338343 return close(fh); 
     
    340345 return -1; 
    341346#endif 
     347 
     348#endif 
    342349} 
    343350 
Note: See TracChangeset for help on using the changeset viewer.