Changeset 312:abbcbb5a3be4 in roaraudio


Ignore:
Timestamp:
07/24/08 16:20:08 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added more correct mlook() support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r311 r312  
    8585 
    8686#ifdef ROAR_HAVE_MLOCK 
     87#ifdef __linux__ 
    8788#define ROAR_MLOCK(p,s) mlock((p), (s)) 
     89#else 
     90#undef ROAR_HAVE_MLOCK 
     91#define ROAR_MLOCK(p,s) 
     92#warning No working mlock() support for this platform 
     93#endif 
    8894#endif 
    8995 
Note: See TracChangeset for help on using the changeset viewer.