Changeset 5406:3a3e9d18f561 in roaraudio for libroar


Ignore:
Timestamp:
02/13/12 15:16:34 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Ported to Win32 (again...) (pr1)

Location:
libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r5393 r5406  
    234234   if ( stat(user_sock, &sockstat) == 0 ) { 
    235235    if ( S_ISCHR(sockstat.st_mode) ) { 
     236#ifdef O_NOCTTY 
    236237     return open(user_sock, O_RDWR|O_NOCTTY, 0666); 
     238#else 
     239     return open(user_sock, O_RDWR, 0666); 
     240#endif 
    237241    } 
    238242   } 
  • libroar/vio_socket.c

    r5396 r5406  
    179179 
    180180  if ( connect(fh, &(def->d.socket.sa.sa), len) == -1 ) { 
     181#ifdef EINPROGRESS 
    181182   if ( errno != EINPROGRESS ) { 
     183#endif 
    182184    roar_err_from_errno(); 
    183185    close(fh); 
    184186    return -1; 
     187#ifdef EINPROGRESS 
    185188   } 
     189#endif 
    186190  } 
    187191 } 
Note: See TracChangeset for help on using the changeset viewer.