Changeset 1080:79a7f3ec66a7 in roaraudio for libroar/simple.c


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

no stat() and struct stat in win32...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r1068 r1080  
    147147  ROAR_DBG("roar_simple_new_stream_obj(*): port=%i", port); 
    148148 } else if ( type == ROAR_SOCKET_TYPE_UNIX ) { 
     149#ifndef ROAR_TARGET_WIN32 
    149150  chmod(file, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP); 
    150151 
     
    153154  if ( grp ) 
    154155   chown(file, -1, grp->gr_gid); 
     156#else 
     157  ROAR_ERR("roar_simple_new_stream_obj(*): There is no UNIX Domain Socket support in win32, download a real OS."); 
     158#endif 
    155159 } else if ( type == ROAR_SOCKET_TYPE_DECNET ) { 
    156160  len = sizeof(struct sockaddr_in); 
Note: See TracChangeset for help on using the changeset viewer.