summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <vv221804@astra04>2010-01-28 11:09:05 +0100
committerVladislav Vaintroub <vv221804@astra04>2010-01-28 11:09:05 +0100
commit9cabc9fd8ac4d249d95ff7140371533070dedd4e (patch)
tree66ba97efde87cfb5e1684f1cc8df185056d2f1ff /include
parenteb81868421ffe0fce3d0f49c5f140445816a2760 (diff)
downloadmariadb-git-9cabc9fd8ac4d249d95ff7140371533070dedd4e.tar.gz
prettification of package names and fix compile bug on OSX/ppc
Diffstat (limited to 'include')
-rw-r--r--include/my_atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_atomic.h b/include/my_atomic.h
index b506aa7d3d1..9914fd2428f 100644
--- a/include/my_atomic.h
+++ b/include/my_atomic.h
@@ -105,7 +105,7 @@
warning: 'transparent_union' attribute ignored
*/
#if defined(__GNUC__) && !defined(__cplusplus) && \
- ! (defined(__APPLE__) && defined(_ARCH_PPC64))
+ ! (defined(__APPLE__) && (defined(_ARCH_PPC64) ||defined (_ARCH_PPC)))
/*
we want to be able to use my_atomic_xxx functions with
both signed and unsigned integers. But gcc will issue a warning