summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-04-26 16:33:05 +0300
committerMonty <monty@mariadb.org>2018-04-26 17:35:12 +0300
commit2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4 (patch)
tree9ad948abd204d9389d8dd45cbd8bfd373f2a861c /include/my_base.h
parent0bdc15d86ea94df6ed7ac07e69309d7b9b7281b2 (diff)
downloadmariadb-git-2ccd6716fc730b3ff5e1bc2f8dc08ac561db3cb4.tar.gz
Fix a lot of compiler warnings found by -Wunused
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h
index 63a9710c306..c36072c0bfa 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -647,7 +647,7 @@ typedef ulong ha_rows;
#define HA_POS_ERROR (~ (ha_rows) 0)
#define HA_OFFSET_ERROR (~ (my_off_t) 0)
-#if SYSTEM_SIZEOF_OFF_T == 4
+#if SIZEOF_OFF_T == 4
#define MAX_FILE_SIZE INT_MAX32
#else
#define MAX_FILE_SIZE LONGLONG_MAX