Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warnings with SDL_FORCE_INLINE on gcc2. (Thanks, Axel!)

 Fixes Bugzilla #1770.
  • Loading branch information
icculus committed Mar 30, 2013
1 parent 53005c6 commit bac751079212f9bba8743a399113b922240b7385
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/begin_code.h
@@ -130,7 +130,7 @@

#if defined(_MSC_VER)
#define SDL_FORCE_INLINE __forceinline
#elif defined(__GNUC__) || defined(__clang__)
#elif ( (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) )
#define SDL_FORCE_INLINE __attribute__((always_inline)) static inline
#else
#define SDL_FORCE_INLINE static __inline__

0 comments on commit bac7510

Please sign in to comment.