]> mj.ucw.cz Git - libucw.git/commitdiff
Define NO_INLINE, which can be helpful when profiling.
authorMartin Mares <mj@ucw.cz>
Tue, 26 Sep 2006 14:00:16 +0000 (16:00 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 26 Sep 2006 14:00:16 +0000 (16:00 +0200)
lib/lib.h

index 5d0610e3cc33f71a2e0b6b112a721451e127ae4d..ec9d58b9a9d5e80cb1ed7e8581f6ca50d0b09c90 100644 (file)
--- 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