Changeset 5390:95fe0821d953 in roaraudio


Ignore:
Timestamp:
01/18/12 23:03:14 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only fork() if we have fork()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/libroar.c

    r5381 r5390  
    155155 
    156156static pid_t _libroar_fork(void ** context, void * userdata) { 
     157#ifdef ROAR_HAVE_FORK 
    157158 pid_t ret; 
    158159 (void)context, (void)userdata; 
     
    161162  roar_err_from_errno(); 
    162163 return ret; 
     164#else 
     165 roar_err_set(ROAR_ERROR_NOSYS); 
     166 return (pid_t)-1; 
     167#endif 
    163168} 
    164169 
Note: See TracChangeset for help on using the changeset viewer.