mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Fix retro_inline.h under C89.
This commit is contained in:
parent
a132fa0fba
commit
c3e111605b
@ -23,18 +23,17 @@
|
|||||||
#ifndef __LIBRETRO_SDK_INLINE_H
|
#ifndef __LIBRETRO_SDK_INLINE_H
|
||||||
#define __LIBRETRO_SDK_INLINE_H
|
#define __LIBRETRO_SDK_INLINE_H
|
||||||
|
|
||||||
|
#ifndef INLINE
|
||||||
|
|
||||||
#if !defined(__cplusplus) && defined(_WIN32)
|
#if !defined(__cplusplus) && defined(_WIN32)
|
||||||
|
|
||||||
#ifndef INLINE
|
|
||||||
#define INLINE _inline
|
#define INLINE _inline
|
||||||
#endif
|
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#ifndef INLINE
|
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#define INLINE __inline__
|
||||||
|
#else
|
||||||
|
#define INLINE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user