Ignore:
Timestamp:
Aug 3, 2007, 4:28:32 PM (14 years ago)
Author:
charles
Message:

BeOS portability fixes from ModeenF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r2596 r2607  
    2323 *****************************************************************************/
    2424
     25#include <assert.h>
    2526#include <errno.h>
    2627#include <stdio.h>
     
    2930
    3031#ifdef SYS_BEOS
     32  #include <signal.h>
    3133  #include <fs_info.h>
    3234  #include <FindDirectory.h>
     
    396398    release_sem( c->sem );
    397399
    398     release_sem( *l );
     400    release_sem( l->lock );
    399401    suspend_thread( find_thread( NULL ) ); /* Wait for signal */
    400     acquire_sem( *l );
     402    acquire_sem( l->lock );
    401403
    402404#elif defined(WIN32)
Note: See TracChangeset for help on using the changeset viewer.