src/video/directfb/SDL_DirectFB_render.c
changeset 7860 2b0bcdea3a79
parent 7751 2f679aa69aea
child 8093 b43765095a6f
     1.1 --- a/src/video/directfb/SDL_DirectFB_render.c	Sun Oct 20 21:34:38 2013 -0700
     1.2 +++ b/src/video/directfb/SDL_DirectFB_render.c	Sun Oct 20 21:56:15 2013 -0700
     1.3 @@ -167,7 +167,7 @@
     1.4  #endif
     1.5  } DirectFB_TextureData;
     1.6  
     1.7 -static __inline__ void
     1.8 +static SDL_INLINE void
     1.9  SDLtoDFBRect(const SDL_Rect * sr, DFBRectangle * dr)
    1.10  {
    1.11      dr->x = sr->x;
    1.12 @@ -175,7 +175,7 @@
    1.13      dr->h = sr->h;
    1.14      dr->w = sr->w;
    1.15  }
    1.16 -static __inline__ void
    1.17 +static SDL_INLINE void
    1.18  SDLtoDFBRect_Float(const SDL_FRect * sr, DFBRectangle * dr)
    1.19  {
    1.20      dr->x = sr->x;
    1.21 @@ -211,7 +211,7 @@
    1.22  #endif
    1.23  }
    1.24  
    1.25 -static inline IDirectFBSurface *get_dfb_surface(SDL_Window *window)
    1.26 +static SDL_INLINE IDirectFBSurface *get_dfb_surface(SDL_Window *window)
    1.27  {
    1.28      SDL_SysWMinfo wm_info;
    1.29      SDL_memset(&wm_info, 0, sizeof(SDL_SysWMinfo));
    1.30 @@ -222,7 +222,7 @@
    1.31      return wm_info.info.dfb.surface;
    1.32  }
    1.33  
    1.34 -static inline IDirectFBWindow *get_dfb_window(SDL_Window *window)
    1.35 +static SDL_INLINE IDirectFBWindow *get_dfb_window(SDL_Window *window)
    1.36  {
    1.37      SDL_SysWMinfo wm_info;
    1.38      SDL_memset(&wm_info, 0, sizeof(SDL_SysWMinfo));