Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7da4229f
Commit
7da4229f
authored
Dec 26, 2011
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on old 32 bit Centos (kernel 2.6.18)
parent
711d7452
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
cmake/os/Linux.cmake
cmake/os/Linux.cmake
+7
-0
sql/threadpool_unix.cc
sql/threadpool_unix.cc
+4
-0
No files found.
cmake/os/Linux.cmake
View file @
7da4229f
...
...
@@ -46,3 +46,10 @@ IF(HAVE_DECL_SHM_HUGETLB)
SET
(
HUGETLB_USE_PROC_MEMINFO 1
)
SET
(
HAVE_LARGE_PAGE_OPTION 1
)
ENDIF
()
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 4 AND CMAKE_SYSTEM_PROCESSOR MATCHES
"86"
)
SET
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-march=i686"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-march=i686"
)
SET
(
CMAKE_REQUIRED_FLAGS
"
${
CMAKE_REQUIRED_FLAGS
}
-march=i686"
)
ENDIF
()
sql/threadpool_unix.cc
View file @
7da4229f
...
...
@@ -190,6 +190,10 @@ static void set_next_timeout_check(ulonglong abstime);
*/
#if defined (__linux__)
#ifndef EPOLLRDHUP
/* Early 2.6 kernel did not have EPOLLRDHUP */
#define EPOLLRDHUP 0
#endif
static
int
io_poll_create
()
{
return
epoll_create
(
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment