List:Commits« Previous MessageNext Message »
From:Mikael Ronstrom Date:May 4 2011 8:42am
Subject:bzr commit into mysql-5.5 branch (mikael.ronstrom:3140)
View as plain text  
#At file:///home/mikael/mysql_clones/mysql-5.5-wl5136_community/ based on revid:mikael.ronstrom@stripped

 3140 Mikael Ronstrom	2011-05-04
      Make MY_ALIGNED usable to define alignment of data structures

    modified:
      include/my_compiler.h
=== modified file 'include/my_compiler.h'
--- a/include/my_compiler.h	revid:mikael.ronstrom@stripped
+++ b/include/my_compiler.h	revid:mikael.ronstrom@stripped
@@ -140,6 +140,14 @@ struct my_aligned_storage
 
 #endif /* __cplusplus */
 
+# if defined(MY_ALIGNED)
+/*
+  Make sure MY_ALIGNED can be used also on platforms where we don't
+  have a way of aligning data structures.
+*/
+#define MY_ALIGNED(size)
+#endif
+
 #include <my_attribute.h>
 
 #endif /* MY_COMPILER_INCLUDED */


Attachment: [text/bzr-bundle] bzr/mikael.ronstrom@oracle.com-20110504084248-2a9aha6inrv469xu.bundle
Thread
bzr commit into mysql-5.5 branch (mikael.ronstrom:3140) Mikael Ronstrom4 May