summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.