summaryrefslogtreecommitdiff
path: root/include/my_compiler.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael.ronstrom@oracle.com>2011-05-04 10:45:51 +0200
committerMikael Ronstrom <mikael.ronstrom@oracle.com>2011-05-04 10:45:51 +0200
commitcb961461f28daf32d479f931f21c52509d4be3c0 (patch)
treee268cc5318623b2bcfabe770789de434d91b5ee7 /include/my_compiler.h
parent28f55273713991769f6e6e088d0c5967870eac8f (diff)
downloadmariadb-git-cb961461f28daf32d479f931f21c52509d4be3c0.tar.gz
Make MY_ALIGNED usable to define alignment of data structures
Diffstat (limited to 'include/my_compiler.h')
-rw-r--r--include/my_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_compiler.h b/include/my_compiler.h
index e55346d62fd..e3ff80fad40 100644
--- a/include/my_compiler.h
+++ b/include/my_compiler.h
@@ -140,7 +140,7 @@ struct my_aligned_storage
#endif /* __cplusplus */
-# if defined(MY_ALIGNED)
+# ifndef MY_ALIGNED
/*
Make sure MY_ALIGNED can be used also on platforms where we don't
have a way of aligning data structures.