src/audio/nas/SDL_nasaudio.c
changeset 6044 35448a5ea044
parent 5880 db03ff7a7398
child 6046 3b33b82cdbac
     1.1 --- a/src/audio/nas/SDL_nasaudio.c	Mon Oct 31 03:06:32 2011 -0400
     1.2 +++ b/src/audio/nas/SDL_nasaudio.c	Mon Oct 31 05:56:58 2011 -0400
     1.3 @@ -20,6 +20,8 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 +#if SDL_AUDIO_DRIVER_NAS
     1.8 +
     1.9  /* Allow access to a raw mixing buffer */
    1.10  
    1.11  #include <signal.h>
    1.12 @@ -50,7 +52,7 @@
    1.13    (AuServer *, AuMask, int, AuID, AuEventHandlerCallback, AuPointer);
    1.14  
    1.15  
    1.16 -#ifdef SDL_AUDIO_DRIVER_NAS_DYNAMIC
    1.17 +#if SDL_AUDIO_DRIVER_NAS_DYNAMIC
    1.18  
    1.19  static const char *nas_library = SDL_AUDIO_DRIVER_NAS_DYNAMIC;
    1.20  static void *nas_handle = NULL;
    1.21 @@ -89,7 +91,7 @@
    1.22  
    1.23  #undef SDL_NAS_SYM
    1.24  
    1.25 -#ifdef SDL_AUDIO_DRIVER_NAS_DYNAMIC
    1.26 +#if SDL_AUDIO_DRIVER_NAS_DYNAMIC
    1.27  
    1.28  static void
    1.29  UnloadNASLibrary(void)
    1.30 @@ -397,4 +399,6 @@
    1.31      "nas", "Network Audio System", NAS_Init, 0
    1.32  };
    1.33  
    1.34 +#endif /* SDL_AUDIO_DRIVER_NAS */
    1.35 +
    1.36  /* vi: set ts=4 sw=4 expandtab: */