4083 jonas oreland 2010-12-30
ndb - add ATTRIBUTE_NOINLINE to ndb_global.h
modified:
storage/ndb/include/ndb_global.h
4082 jonas oreland 2010-12-22 [merge]
ndb - merge 63 to 70
modified:
storage/ndb/src/ndbapi/SignalSender.cpp
=== 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)
*/
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-5.1-telco-7.0 branch (jonas:4082 to 4083) | jonas oreland | 30 Dec |