common_funcs: Add CITRA_NO_INLINE

This commit is contained in:
Morph 2022-06-14 07:18:12 -04:00
parent 46c6e5c4c0
commit 49c0ed297f

View File

@ -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