Changeset 1381

Show
Ignore:
Timestamp:
03/30/08 17:02:09 (5 months ago)
Author:
aknudsen
Message:

Order Unix host api initializers depending on whether we're on Linux

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • portaudio/trunk/src/os/unix/pa_unix_hostapis.c

    r1374 r1381  
    5959PaUtilHostApiInitializer *paHostApiInitializers[] = 
    6060    { 
     61#ifdef __linux__ 
     62 
    6163#ifdef PA_USE_ALSA 
    6264        PaAlsa_Initialize, 
     
    6668        PaOSS_Initialize, 
    6769#endif 
     70 
     71#else 
     72 
     73#ifdef PA_USE_OSS 
     74        PaOSS_Initialize, 
     75#endif 
     76 
     77#ifdef PA_USE_ALSA 
     78        PaAlsa_Initialize, 
     79#endif 
     80 
     81#endif  /* __linux__ */ 
    6882 
    6983#ifdef PA_USE_JACK