List:Commits« Previous MessageNext Message »
From:jonas oreland Date:December 30 2010 10:59am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:4083)
View as plain text  
#At file:///home/jonas/src/telco-7.0/ based on revid:jonas@stripped

 4083 jonas oreland	2010-12-30
      ndb - add ATTRIBUTE_NOINLINE to ndb_global.h

    modified:
      storage/ndb/include/ndb_global.h
=== modified file 'storage/ndb/include/ndb_global.h'
--- a/storage/ndb/include/ndb_global.h	2010-11-30 07:47:55 +0000
+++ b/storage/ndb/include/ndb_global.h	2010-12-30 10:59:05 +0000
@@ -229,6 +229,15 @@ extern "C" {
 #define ATTRIBUTE_NORETURN
 #endif
 
+/**
+ *  __attribute__((noinline)) was introduce in gcc 3.1
+ */
+#if (GCC_VERSION >= 3001)
+#define ATTRIBUTE_NOINLINE __attribute__((noinline))
+#else
+#define ATTRIBUTE_NOINLINE
+#endif
+
 /*
  * require is like a normal assert, only it's always on (eg. in release)
  */


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20101230105905-zsvho6w70i8iy136.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:4083) jonas oreland30 Dec