From: Martin Mares Date: Tue, 26 Sep 2006 14:00:16 +0000 (+0200) Subject: Define NO_INLINE, which can be helpful when profiling. X-Git-Tag: holmes-import~512^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c1d118e009cea1830270141edfb8cff7dc27a8ed;p=libucw.git Define NO_INLINE, which can be helpful when profiling. --- diff --git a/lib/lib.h b/lib/lib.h index 5d0610e3..ec9d58b9 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -67,6 +67,7 @@ #if __GNUC__ >= 4 || __GNUC__ == 3 && __GNUC_MINOR__ >= 3 #define ALWAYS_INLINE inline __attribute__((always_inline)) +#define NO_INLINE __attribute__((noinline)) #else #define ALWAYS_INLINE inline #endif