common_funcs: Add CITRA_NO_INLINE

master
Morph 2022-06-14 07:18:12 +07:00
parent 46c6e5c4c0
commit 49c0ed297f
1 changed files with 6 additions and 0 deletions

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