src/audio/pulseaudio/SDL_pulseaudio.c
changeset 7860 2b0bcdea3a79
parent 7719 31b5f9ff36ca
child 8093 b43765095a6f
     1.1 --- a/src/audio/pulseaudio/SDL_pulseaudio.c	Sun Oct 20 21:34:38 2013 -0700
     1.2 +++ b/src/audio/pulseaudio/SDL_pulseaudio.c	Sun Oct 20 21:56:15 2013 -0700
     1.3 @@ -49,7 +49,7 @@
     1.4  
     1.5  #if (PA_API_VERSION < 12)
     1.6  /** Return non-zero if the passed state is one of the connected states */
     1.7 -static __inline__ int PA_CONTEXT_IS_GOOD(pa_context_state_t x) {
     1.8 +static SDL_INLINE int PA_CONTEXT_IS_GOOD(pa_context_state_t x) {
     1.9      return
    1.10          x == PA_CONTEXT_CONNECTING ||
    1.11          x == PA_CONTEXT_AUTHORIZING ||
    1.12 @@ -57,7 +57,7 @@
    1.13          x == PA_CONTEXT_READY;
    1.14  }
    1.15  /** Return non-zero if the passed state is one of the connected states */
    1.16 -static __inline__ int PA_STREAM_IS_GOOD(pa_stream_state_t x) {
    1.17 +static SDL_INLINE int PA_STREAM_IS_GOOD(pa_stream_state_t x) {
    1.18      return
    1.19          x == PA_STREAM_CREATING ||
    1.20          x == PA_STREAM_READY;
    1.21 @@ -322,7 +322,7 @@
    1.22  }
    1.23  
    1.24  
    1.25 -static __inline__ int
    1.26 +static SDL_INLINE int
    1.27  squashVersion(const int major, const int minor, const int patch)
    1.28  {
    1.29      return ((major & 0xFF) << 16) | ((minor & 0xFF) << 8) | (patch & 0xFF);