summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@macbook.gmz>2006-08-01 11:34:11 +0300
committerunknown <gkodinov/kgeorge@macbook.gmz>2006-08-01 11:34:11 +0300
commite80a76d720c6e15784f33183167fff98d5546571 (patch)
tree7d14ed481df4b9b6deff3432b1f6b0cd917f0f3a /mysys
parentdeee3a30d61990d5c4b4e8abdab8102f28710d18 (diff)
parent948caab031ac765d74e36b0dad2452cee1a05e74 (diff)
downloadmariadb-git-e80a76d720c6e15784f33183167fff98d5546571.tar.gz
serg's MacOSX-intel portability diff
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_atomic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_atomic.c b/mysys/my_atomic.c
index 21b80f0f6a1..6f56d76e6b8 100644
--- a/mysys/my_atomic.c
+++ b/mysys/my_atomic.c
@@ -36,6 +36,7 @@
*/
int my_atomic_initialize()
{
+ DBUG_ASSERT(sizeof(intptr) == sizeof(void *));
/* currently the only thing worth checking is SMP/UP issue */
#ifdef MY_ATOMIC_MODE_DUMMY
return my_getncpus() == 1 ? MY_ATOMIC_OK : MY_ATOMIC_NOT_1CPU;