diff options
Diffstat (limited to 'mysys/my_atomic.c')
-rw-r--r-- | mysys/my_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_atomic.c b/mysys/my_atomic.c index 2908a44961a..fbeb3d63bef 100644 --- a/mysys/my_atomic.c +++ b/mysys/my_atomic.c @@ -35,7 +35,7 @@ */ int my_atomic_initialize() { - DBUG_ASSERT(sizeof(intptr) == sizeof(void *)); + char assert_the_size[sizeof(intptr) == sizeof(void *) ? 1 : -1]; /* 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; |