diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-28 18:42:45 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-28 18:42:45 +0100 |
commit | 0dc6f5aa1531fd82fabdbb556da02ef1546fbedf (patch) | |
tree | e861c6dbf762c4629c8c41b9a938e7a394d25501 /storage | |
parent | 35ee485b6589e2d83112f839af1599fb5310be46 (diff) | |
download | mariadb-git-0dc6f5aa1531fd82fabdbb556da02ef1546fbedf.tar.gz |
- Miscelleanous fix for compiling on Linux
modified:
storage/connect/xindex.cpp
Diffstat (limited to 'storage')
-rw-r--r-- | storage/connect/xindex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/connect/xindex.cpp b/storage/connect/xindex.cpp index 430a09ccd05..9b26fb203ad 100644 --- a/storage/connect/xindex.cpp +++ b/storage/connect/xindex.cpp @@ -17,7 +17,6 @@ //#include <windows.h> #else // !WIN32 #if defined(UNIX) -#define _LARGEFILE64_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <errno.h> @@ -2390,7 +2389,6 @@ void *XFILE::FileView(PGLOBAL g, char *fn, int loff, int hoff, int size) /***********************************************************************/ bool XHUGE::Open(PGLOBAL g, char *filename, int id, MODE mode) { - LONG high = 0; DWORD drc, rc; IOFF noff[MAX_INDX]; @@ -2404,6 +2402,7 @@ bool XHUGE::Open(PGLOBAL g, char *filename, int id, MODE mode) #endif // TRACE #if defined(WIN32) + LONG high = 0; DWORD access, share, creation;
/*********************************************************************/ |