Commit d2c366c6 authored by Sergey Vojtovich's avatar Sergey Vojtovich

Fix CentOS 6 and quantal build failures

parent 1078a630
......@@ -1000,6 +1000,11 @@ extern ulonglong my_getcputime(void);
#define MAP_NORESERVE 0 /* For irix and AIX */
#endif
/* Compatibility with pre linux 3.8 distributions */
#ifdef __linux__
#define MAP_HUGE_SHIFT 26
#endif
#ifdef HAVE_MMAP64
#define my_mmap(a,b,c,d,e,f) mmap64(a,b,c,d,e,f)
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment