summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2011-08-22 17:12:27 +0300
committerMarko Mäkelä <marko.makela@oracle.com>2011-08-22 17:12:27 +0300
commit42ff786cf9bc2e730efd7254545fb2caa0115546 (patch)
tree5fa1606af3e784d854517456886d32bdb64dbb67 /extra
parent73312bddb3b0aa07e66f6ab118e5902f8f5e5728 (diff)
parent49ee12d03b763a460cfcc371566465019a4dc067 (diff)
downloadmariadb-git-42ff786cf9bc2e730efd7254545fb2caa0115546.tar.gz
Merge mysql-5.1 to mysql-5.5.
Diffstat (limited to 'extra')
-rw-r--r--extra/innochecksum.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/extra/innochecksum.c b/extra/innochecksum.c
index 7ad900d16d3..b55b510b888 100644
--- a/extra/innochecksum.c
+++ b/extra/innochecksum.c
@@ -25,12 +25,7 @@
Published with a permission.
*/
-/* needed to have access to 64 bit file functions */
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
-
-#define _XOPEN_SOURCE 500 /* needed to include getopt.h on some platforms. */
-
+#include <my_global.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
@@ -53,7 +48,6 @@
/* another argument to specify page ranges... seek to right spot and go from there */
typedef unsigned long int ulint;
-typedef unsigned char uchar;
/* innodb function in name; modified slightly to not have the ASM version (lots of #ifs that didn't apply) */
ulint mach_read_from_4(uchar *b)