summaryrefslogtreecommitdiff
path: root/include/my_atomic.h
diff options
context:
space:
mode:
authorserg@janus.mylan <>2007-01-28 21:12:58 +0100
committerserg@janus.mylan <>2007-01-28 21:12:58 +0100
commit045d7047095be717c94fd823252d513dad8c4478 (patch)
treea601ef4a92d191c54e1c64dd540a08a70b5316e8 /include/my_atomic.h
parent24186aa176dd6e91b5f425de2eabab06b743e07c (diff)
downloadmariadb-git-045d7047095be717c94fd823252d513dad8c4478.tar.gz
move intptr from my_atomic.h to my_global.h
Diffstat (limited to 'include/my_atomic.h')
-rw-r--r--include/my_atomic.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/my_atomic.h b/include/my_atomic.h
index 7b066e9b529..a1347d26401 100644
--- a/include/my_atomic.h
+++ b/include/my_atomic.h
@@ -134,14 +134,6 @@ make_atomic_swap(ptr)
#undef _atomic_h_cleanup_
#endif
-#if SIZEOF_CHARP == SIZEOF_INT
-typedef int intptr;
-#elif SIZEOF_CHARP == SIZEOF_LONG
-typedef long intptr;
-#else
-#error
-#endif
-
#define MY_ATOMIC_OK 0
#define MY_ATOMIC_NOT_1CPU 1
extern int my_atomic_initialize();