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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5cddb6c1
Commit
5cddb6c1
authored
Jan 13, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use _GNU_SOURCE on Linux to have all useful definitions (pthread_rwlock_t) for example
parent
3fe740e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
cmake/abi_check.cmake
cmake/abi_check.cmake
+1
-1
config.h.cmake
config.h.cmake
+1
-0
configure.cmake
configure.cmake
+1
-0
No files found.
cmake/abi_check.cmake
View file @
5cddb6c1
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#
#
# We use gcc specific preprocessing command and sed/diff, so it will
# We use gcc specific preprocessing command and sed/diff, so it will
# only be run on Unix and only if gcc is used.
# only be run on Unix and only if gcc is used.
IF
(
CMAKE_COMPILER_IS_GNUCC AND
UNIX
)
IF
(
CMAKE_COMPILER_IS_GNUCC AND
Linux
)
IF
(
CMAKE_C_COMPILER MATCHES
"ccache$"
)
IF
(
CMAKE_C_COMPILER MATCHES
"ccache$"
)
SET
(
COMPILER
${
CMAKE_C_COMPILER_ARG1
}
)
SET
(
COMPILER
${
CMAKE_C_COMPILER_ARG1
}
)
STRING
(
REGEX REPLACE
"^ "
""
COMPILER
${
COMPILER
}
)
STRING
(
REGEX REPLACE
"^ "
""
COMPILER
${
COMPILER
}
)
...
...
config.h.cmake
View file @
5cddb6c1
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
#cmakedefine DOT_FRM_VERSION @DOT_FRM_VERSION@
#cmakedefine DOT_FRM_VERSION @DOT_FRM_VERSION@
/* Headers we may want to use. */
/* Headers we may want to use. */
#cmakedefine STDC_HEADERS 1
#cmakedefine STDC_HEADERS 1
#cmakedefine _GNU_SOURCE 1
#cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_AIO_H 1
#cmakedefine HAVE_AIO_H 1
#cmakedefine HAVE_ARPA_INET_H 1
#cmakedefine HAVE_ARPA_INET_H 1
...
...
configure.cmake
View file @
5cddb6c1
...
@@ -49,6 +49,7 @@ ENDIF()
...
@@ -49,6 +49,7 @@ ENDIF()
IF
(
CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
IF
(
CMAKE_SYSTEM_NAME MATCHES
"Linux"
)
SET
(
TARGET_OS_LINUX 1
)
SET
(
TARGET_OS_LINUX 1
)
SET
(
HAVE_NPTL 1
)
SET
(
HAVE_NPTL 1
)
SET
(
_GNU_SOURCE 1
)
ELSEIF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
)
ELSEIF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
)
SET
(
TARGET_OS_SOLARIS 1
)
SET
(
TARGET_OS_SOLARIS 1
)
ENDIF
()
ENDIF
()
...
...
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