common_funcs: Add CITRA_NO_INLINE

This commit is contained in:
Morph 2022-06-14 07:18:12 -04:00
parent 46c6e5c4c0
commit 49c0ed297f
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@
#define FORCE_INLINE inline __attribute__((always_inline))
#endif
#ifdef _MSC_VER
#define CITRA_NO_INLINE __declspec(noinline)
#else
#define CITRA_NO_INLINE __attribute__((noinline))
#endif
#ifndef _MSC_VER
#ifdef ARCHITECTURE_x86_64