summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index addc2f24e7f..b6c6ff13405 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -1020,8 +1020,10 @@ typedef unsigned long long my_ulonglong;
typedef int intptr;
#elif SIZEOF_CHARP == SIZEOF_LONG
typedef long intptr;
+#elif SIZEOF_CHARP == SIZEOF_LONG_LONG
+typedef long long intptr;
#else
-#error sizeof(void *) is neither sizeof(int) nor sizeof(long)
+#error sizeof(void *) is neither sizeof(int) nor sizeof(long) nor sizeof(long long)
#endif
#ifdef USE_RAID