Compiler.h: add gcc_noinline

This commit is contained in:
Max Kellermann 2017-02-08 10:17:18 +01:00
parent 777e15bd78
commit 4d88a099f9

View File

@ -100,6 +100,7 @@
#define gcc_visibility_hidden __attribute__((visibility("hidden")))
#define gcc_visibility_default __attribute__((visibility("default")))
#define gcc_noinline __attribute__((noinline))
#define gcc_always_inline __attribute__((always_inline))
#else
@ -127,6 +128,7 @@
#define gcc_visibility_hidden
#define gcc_visibility_default
#define gcc_noinline
#define gcc_always_inline inline
#endif