From 4d88a099f9ad32fc33b2a52992b505d44362a13b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Feb 2017 10:17:18 +0100 Subject: [PATCH] Compiler.h: add gcc_noinline --- src/Compiler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Compiler.h b/src/Compiler.h index 377437ccf..54c16c5e9 100644 --- a/src/Compiler.h +++ b/src/Compiler.h @@ -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