fix prototype when the C compiler has no "no inline" annotation
This commit is contained in:
parent
09d4aa3d79
commit
c1bd671b08
|
@ -1640,7 +1640,7 @@ void scheme_enable_garbage_collection(int on)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
MZ_DO_NOT_INLINE(uintptr_t scheme_get_deeper_address(void))
|
MZ_DO_NOT_INLINE(uintptr_t scheme_get_deeper_address(void));
|
||||||
|
|
||||||
uintptr_t scheme_get_deeper_address(void)
|
uintptr_t scheme_get_deeper_address(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -174,11 +174,11 @@ int scheme_num_types(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MZ_USE_NOINLINE
|
#if MZ_USE_NOINLINE
|
||||||
# define MZ_DO_NOT_INLINE(decl) decl __attribute__ ((noinline));
|
# define MZ_DO_NOT_INLINE(decl) decl __attribute__ ((noinline))
|
||||||
#elif _MSC_VER
|
#elif _MSC_VER
|
||||||
# define MZ_DO_NOT_INLINE(decl) __declspec(noinline) decl;
|
# define MZ_DO_NOT_INLINE(decl) __declspec(noinline) decl
|
||||||
#else
|
#else
|
||||||
# define MZ_DO_NOT_INLINE(decl)
|
# define MZ_DO_NOT_INLINE(decl) decl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user