mirror of
https://github.com/libretro/neocd_libretro.git
synced 2025-03-01 12:26:05 +00:00
Guard has_attribute usage
This commit is contained in:
parent
282e6d592d
commit
1ccbc51f62
@ -13,10 +13,14 @@
|
||||
#define STATIC_INLINE
|
||||
#endif
|
||||
|
||||
#if defined(__has_attribute)
|
||||
#if __has_attribute(always_inline)
|
||||
#define ALWAYS_INLINE __attribute__((always_inline))
|
||||
#else
|
||||
#define ALWAYS_INLINE
|
||||
#endif
|
||||
#else
|
||||
#define ALWAYS_INLINE
|
||||
#endif
|
||||
|
||||
#endif // INLINE_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user