summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-12 15:16:22 +0200
committerLiam <byteslice@airmail.cc>2023-10-12 15:16:22 +0200
commit2212c9653d556e7ccb5c5a37407a51d33318d227 (patch)
tree332508f78827664ea9c236342469e1359acfb4e2 /src/common/common_funcs.h
parentMerge pull request #11752 from lat9nq/msvc-tz-2022g (diff)
downloadyuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.tar
yuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.tar.gz
yuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.tar.bz2
yuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.tar.lz
yuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.tar.xz
yuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.tar.zst
yuzu-2212c9653d556e7ccb5c5a37407a51d33318d227.zip
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r--src/common/common_funcs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index 0dad9338a..47d028d48 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -39,8 +39,12 @@
#define Crash() exit(1)
#endif
+#define LTO_NOINLINE __attribute__((noinline))
+
#else // _MSC_VER
+#define LTO_NOINLINE
+
// Locale Cross-Compatibility
#define locale_t _locale_t