psxinterpreter: yet more exceptions, new config option
[pcsx_rearmed.git] / include / compiler_features.h
index 0c1119d..3841866 100644 (file)
@@ -2,9 +2,11 @@
 #ifdef __GNUC__
 # define likely(x)       __builtin_expect((x),1)
 # define unlikely(x)     __builtin_expect((x),0)
+# define noinline        __attribute__((noinline))
 #else
 # define likely(x)       (x)
 # define unlikely(x)     (x)
+# define noinline
 #endif
 
 #ifndef __has_builtin