summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-02-23 18:43:29 +0100
committerSergei Golubchik <sergii@pisem.net>2011-02-23 18:43:29 +0100
commit7e0e4b00c971b81b5ffd18db4f1ea977233e98be (patch)
tree07339eff317f7f1cda40968f06af4ba8d5f4f476 /include/my_global.h
parent8fafe0f89bea4a63d35e992b947c1e1f89fa460b (diff)
downloadmariadb-git-7e0e4b00c971b81b5ffd18db4f1ea977233e98be.tar.gz
we don't support longlong less than 8 bytes
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_global.h b/include/my_global.h
index ec22a57329b..5b70ba47b74 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -830,10 +830,10 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define strtok_r(A,B,C) strtok((A),(B))
#endif
-/* This is from the old m-machine.h file */
-
-#if SIZEOF_LONG_LONG > 4
+#if SIZEOF_LONG_LONG >= 8
#define HAVE_LONG_LONG 1
+#else
+#error WHAT? sizeof(long long) < 8 ???
#endif
/*